[web] 删除不再使用的文件并新增超时处理接口

This commit is contained in:
2025-01-03 20:51:57 +08:00
parent c3c6ca7281
commit 682679b63a
29 changed files with 15 additions and 141 deletions

View File

@ -38,6 +38,7 @@ func init() {
{
api.GET("/", func(ctx context.Context, c *app.RequestContext) { c.JSON(200, "Hello, api") })
api.GET("/status", frontend.OnGetServerStatus)
api.GET("/timeout", frontend.OnGetTimeout)
}
// 静态文件