@@ -64,7 +64,7 @@ func Login(c *gin.Context) {
return
}
- c.SetCookie(AuthTokenKey, token, int(720*time.Hour), "", "word.regmsif.cf", true, true)
+ c.SetCookie(AuthTokenKey, token, int(720*time.Hour), "/", "regmsif.cf", true, true)
respondOK(c, user)