simplify front end routes,

simplify ssr fragment fetch methods
This commit is contained in:
2025-04-15 17:13:22 +00:00
parent 844cf4dfb9
commit 099f9c4e42
9 changed files with 33 additions and 23 deletions

View File

@@ -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
}
}