fix(self-check): websocket check invaild in remote mode

This commit is contained in:
Jacky 2025-02-04 17:55:13 +08:00
parent 2db7f02c76
commit 7e37664c64
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
2 changed files with 3 additions and 2 deletions

View file

@ -15,9 +15,9 @@ func InitPrivateRouter(r *gin.RouterGroup) {
r.GET("upgrade/current", GetCurrentVersion)
r.GET("self_check", SelfCheck)
r.POST("self_check/:name/fix", SelfCheckFix)
r.GET("self_check/websocket", CheckWebSocket)
}
func InitWebSocketRouter(r *gin.RouterGroup) {
r.GET("upgrade/perform", PerformCoreUpgrade)
r.GET("self_check/websocket", CheckWebSocket)
}