Skip to content
Snippets Groups Projects
Commit 464e9fe6 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Remove apple-touch-icons generated from favicon

parent 39d90cd7
No related branches found
No related tags found
1 merge request!1053Resolve "Safari on iOS uses favicon on home screen"
Pipeline #75847 passed
...@@ -27,6 +27,7 @@ Fixed ...@@ -27,6 +27,7 @@ Fixed
* Password change view did not redirect to login when accessed unauthenticated. * Password change view did not redirect to login when accessed unauthenticated.
* Sorting icons were inlined into stylesheet * Sorting icons were inlined into stylesheet
* iOS devices used the favicon instead of the PWA icon when the PWA was added to the home screen.
`2.9`_ - 2022-05-25 `2.9`_ - 2022-05-25
------------------- -------------------
......
...@@ -743,6 +743,11 @@ PWA_ICONS_CONFIG = { ...@@ -743,6 +743,11 @@ PWA_ICONS_CONFIG = {
"microsoft": [144], "microsoft": [144],
} }
FAVICON_PATH = os.path.join("public", "favicon") FAVICON_PATH = os.path.join("public", "favicon")
FAVICON_CONFIG = {
"shortcut icon": [16, 32, 48, 128, 192],
"touch-icon": [196],
"icon": [196],
}
SERVICE_WORKER_PATH = os.path.join(STATIC_ROOT, "js", "serviceworker.js") SERVICE_WORKER_PATH = os.path.join(STATIC_ROOT, "js", "serviceworker.js")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment