Add assets folder

This commit is contained in:
ArtemBaskal
2020-05-14 14:45:16 +03:00
parent 26ac9e4224
commit 5f13d4ab4a
8 changed files with 13 additions and 14 deletions

View File

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