optimize ChatPlus page, fixed bug for websocket reconnection

This commit is contained in:
RockYang
2024-09-02 16:35:15 +08:00
parent b63e01225e
commit dfc6c87250
15 changed files with 64 additions and 110 deletions

View File

@@ -201,7 +201,6 @@ func needLogin(c *gin.Context) bool {
c.Request.URL.Path == "/api/admin/logout" ||
c.Request.URL.Path == "/api/admin/login/captcha" ||
c.Request.URL.Path == "/api/user/register" ||
c.Request.URL.Path == "/api/user/session" ||
c.Request.URL.Path == "/api/chat/history" ||
c.Request.URL.Path == "/api/chat/detail" ||
c.Request.URL.Path == "/api/chat/list" ||