You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1011 B
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>McpStudy.McpServerSSE</title>
</head>
<body>
<div style="text-align:center">
<h2>McpStudy.McpServerSSE 启动成功!</h2>
<h3>WebAPI参阅<a id="GoSwagger" href="#">Swagger 文档</a></h3>
<h3>MCP服务测试<a id="GoMCP" href="#">MCP服务页</a></h3>
</div>
<script type="text/javascript">
//相对根路径
var baseUrl = document.baseURI;
baseUrl = baseUrl.replace(/\/$/, "");
//设置Swagger地址
var swaggerUrl = baseUrl + "/swagger/index.html";
//设置连接地址
document.getElementById("GoSwagger").setAttribute("href", swaggerUrl);
//设置MCP服务器地址
var mcpServerUrl = baseUrl + "/sse";
//设置连接地址
document.getElementById("GoMCP").setAttribute("href", mcpServerUrl);
</script>
</body>
</html>