This commit is contained in:
Sakurasan
2023-04-09 15:01:58 +08:00
parent a431cc19c5
commit 4cca88d4e1
8 changed files with 301 additions and 7 deletions

View File

@@ -117,7 +117,7 @@ func githubCallbackHandler(c *gin.Context) {
}
c.SetCookie("token", jwtToken, 60*60*24, "/", "localhost", false, true)
c.Redirect(http.StatusFound, "http://localhost:8080/")
c.Redirect(http.StatusFound, "http://localhost:8000/")
}
func initDB() {