mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
fix(self-check): websocket check invaild in remote mode
This commit is contained in:
parent
2db7f02c76
commit
7e37664c64
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue