diff --git a/client/public/favicon.ico b/client/public/favicon.ico deleted file mode 100644 index 07cb5eea..00000000 Binary files a/client/public/favicon.ico and /dev/null differ diff --git a/client/public/favicon.png b/client/public/favicon.png new file mode 100644 index 00000000..992631c1 Binary files /dev/null and b/client/public/favicon.png differ diff --git a/client/public/index.html b/client/public/index.html index 38d8f887..44ab2396 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -5,7 +5,7 @@ - + AdGuard Home diff --git a/client/public/install.html b/client/public/install.html index 855c8008..2fd3bb7d 100644 --- a/client/public/install.html +++ b/client/public/install.html @@ -5,7 +5,7 @@ - + Setup AdGuard Home diff --git a/client/webpack.common.js b/client/webpack.common.js index bee1b975..350fca12 100644 --- a/client/webpack.common.js +++ b/client/webpack.common.js @@ -12,7 +12,7 @@ const ENTRY_REACT = path.resolve(RESOURCES_PATH, 'src/index.js'); const ENTRY_INSTALL = path.resolve(RESOURCES_PATH, 'src/install/index.js'); const HTML_PATH = path.resolve(RESOURCES_PATH, 'public/index.html'); const HTML_INSTALL_PATH = path.resolve(RESOURCES_PATH, 'public/install.html'); -const FAVICON_PATH = path.resolve(RESOURCES_PATH, 'public/favicon.ico'); +const FAVICON_PATH = path.resolve(RESOURCES_PATH, 'public/favicon.png'); const PUBLIC_PATH = path.resolve(__dirname, '../build/static'); diff --git a/helpers.go b/helpers.go index 4d4d0b3f..afd4e34b 100644 --- a/helpers.go +++ b/helpers.go @@ -143,7 +143,7 @@ func postInstall(handler func(http.ResponseWriter, *http.Request)) func(http.Res return func(w http.ResponseWriter, r *http.Request) { if config.firstRun && !strings.HasPrefix(r.URL.Path, "/install.") && - r.URL.Path != "/favicon.ico" { + r.URL.Path != "/favicon.png" { http.Redirect(w, r, "/install.html", http.StatusSeeOther) // should not be cacheable return }