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 -1
View File
@@ -46,7 +46,7 @@ func (a *Auth) Register(mux *http.ServeMux) {
func (a *Auth) Wrap(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if r.URL.Path == "/auth/login" {
if r.URL.Path == "/auth/login" || strings.HasPrefix(r.URL.Path, "/static/") {
next.ServeHTTP(w, r)
return
}