Add assets folder
This commit is contained in:
@@ -380,9 +380,7 @@ func optionalAuth(handler func(http.ResponseWriter, *http.Request)) func(http.Re
|
||||
}
|
||||
}
|
||||
|
||||
} else if r.URL.Path == "/favicon.png" ||
|
||||
r.URL.Path == "/safari-pinned-tab.svg" ||
|
||||
strings.HasPrefix(r.URL.Path, "/apple-touch-icon") ||
|
||||
} else if strings.HasPrefix(r.URL.Path,"/assets/") ||
|
||||
strings.HasPrefix(r.URL.Path, "/login.") ||
|
||||
strings.HasPrefix(r.URL.Path, "/__locales/") {
|
||||
// process as usual
|
||||
|
||||
Reference in New Issue
Block a user