mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 08:40:20 +00:00
feat(agentcompat): expose dashboard capability routes
Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
This commit is contained in:
1 parent
0c6eb416a5
commit
2640b86d3a
42 files changed
+4083
-271
No files matched your search
@@ -69,6 +69,7 @@ func routers(r *gin.Engine, frontendDist fs.FS) {
|
||||
r.DELETE("/mcp", mcpOriginGuard(), mcpMethodNotAllowed)
|
||||
r.GET("/mcp/download/:token", mcpOriginGuard(), transferDownloadHandler)
|
||||
r.POST("/mcp/upload/:token", mcpOriginGuard(), transferUploadHandler)
|
||||
registerAgentcompatRoutes(r)
|
||||
|
||||
api := r.Group("api/v1")
|
||||
api.POST("/login", authMiddleware.LoginHandler)
|
||||
|
||||
Reference in new issue
Block a user