fix: update refresh token endpoint to use hyphen

This commit is contained in:
naiba committed 2024-11-08 23:57:15 +08:00
1 parent 6322c22b49
commit e15dddae73
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ func routers(r *gin.Engine) {
auth := api.Group("", authMiddleware.MiddlewareFunc())
auth.GET("/refresh_token", authMiddleware.RefreshHandler)
auth.GET("/refresh-token", authMiddleware.RefreshHandler)
auth.POST("/terminal", commonHandler(createTerminal))
auth.GET("/ws/terminal/:id", commonHandler(terminalStream))