added cookie

This commit is contained in:
ACoolName 2024-05-25 01:58:44 +03:00
parent 39f8b02c73
commit f70b34966b

View File

@ -188,7 +188,7 @@ func (con Connection) signIn(c *gin.Context) {
return return
} }
c.SetCookie("auth", signedToken, -1, "", "", false, true) c.SetCookie("auth", signedToken, -1, "", ".games.acooldomain.co", true, true)
c.IndentedJSON(http.StatusOK, signedToken) c.IndentedJSON(http.StatusOK, signedToken)
} }