mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 06:55:48 +03:00
Add icons to server
This commit is contained in:
parent
8aad02dbf2
commit
26ac9e4224
1 changed files with 2 additions and 0 deletions
|
@ -381,6 +381,8 @@ func optionalAuth(handler func(http.ResponseWriter, *http.Request)) func(http.Re
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if r.URL.Path == "/favicon.png" ||
|
} else if r.URL.Path == "/favicon.png" ||
|
||||||
|
r.URL.Path == "/safari-pinned-tab.svg" ||
|
||||||
|
strings.HasPrefix(r.URL.Path, "/apple-touch-icon") ||
|
||||||
strings.HasPrefix(r.URL.Path, "/login.") ||
|
strings.HasPrefix(r.URL.Path, "/login.") ||
|
||||||
strings.HasPrefix(r.URL.Path, "/__locales/") {
|
strings.HasPrefix(r.URL.Path, "/__locales/") {
|
||||||
// process as usual
|
// process as usual
|
||||||
|
|
Loading…
Reference in a new issue