simplify front end routes,
simplify ssr fragment fetch methods
This commit is contained in:
@@ -149,7 +149,7 @@ func HandleGETAccount(c *gin.Context) {
|
||||
"account": account,
|
||||
})
|
||||
} else {
|
||||
c.Redirect(http.StatusFound, "/login.html") // if user is not authed, redirect user to login page
|
||||
c.Redirect(http.StatusFound, "/login") // if user is not authed, redirect user to login page
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user