diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 471650a9a23bdb75186c4d919c35f9cf99c1848b..0fab4cfc9595db40fc1575b856e78f186d8d36be 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -28,6 +28,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. Changed ~~~~~~~ diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py index 2f742cf2c531346b9ab8ae5e942a830720517cc8..e52538c37dfd7f27b256a836201dd2865d61a0a2 100644 --- a/aleksis/core/settings.py +++ b/aleksis/core/settings.py @@ -744,6 +744,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")