add logout

This commit is contained in:
2026-03-02 23:54:05 -08:00
parent 56475df1a0
commit a9d048a633
4 changed files with 32 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ func Start() {
r.Handle("/files/*", http.StripPrefix("/files", http.FileServer(http.Dir("./static"))))
r.Get("/", rootHandler())
r.Get("/login", loginPageHandler())
r.Get("/logout", logoutHandler())
r.Get("/createaccount", createAccountPageHandler())
r.Get("/profile/{username}", profilePageHandler())
r.Get("/profile/{username}/artist/{artist}", artistPageHandler())