From 464e9fe68ab811308ced6176f113f8f4c015f5ea Mon Sep 17 00:00:00 2001 From: Hangzhi Yu <hangzhi@protonmail.com> Date: Thu, 23 Jun 2022 22:16:01 +0200 Subject: [PATCH] Remove apple-touch-icons generated from favicon --- CHANGELOG.rst | 1 + aleksis/core/settings.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b716596ee..259a274c5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -27,6 +27,7 @@ Fixed * Password change view did not redirect to login when accessed unauthenticated. * 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 ------------------- diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py index e5e6984a7..f98bccec8 100644 --- a/aleksis/core/settings.py +++ b/aleksis/core/settings.py @@ -743,6 +743,11 @@ PWA_ICONS_CONFIG = { "microsoft": [144], } 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") -- GitLab