Clone the login page

This commit is contained in:
Ian Gulliver
2026-08-15 17:12:59 -07:00
parent f2f784fd63
commit cf32c09ab6
5 changed files with 32 additions and 15 deletions
+1
View File
@@ -66,6 +66,7 @@ func main() {
authn.Register(mux)
directory.Register(mux, cache)
mux.Handle("GET /{$}", http.RedirectHandler("/directory/", http.StatusFound))
mux.Handle("GET /static/", http.StripPrefix("/static/", http.FileServer(http.Dir("web/static"))))
port := os.Getenv("PORT")
if port == "" {
port = "8080"