Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing urls for android icons #287

Open
paribaker opened this issue Mar 13, 2024 · 0 comments
Open

Missing urls for android icons #287

paribaker opened this issue Mar 13, 2024 · 0 comments
Labels

Comments

@paribaker
Copy link
Contributor

Here we define the urls for the favicons but for some reason missed the android ones

urlpatterns += [
        path(
            r"android-icon-36x36.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/android-icon-36x36.png"), permanent=False),
        ),
        path(
            r"android-icon-48x48.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/android-icon-48x48.png"), permanent=False),
        ),
        path(
            r"android-icon-72x72.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/android-icon-72x72.png"), permanent=False),
        ),
        path(
            r"android-icon-96x96.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/android-icon-96x96.png"), permanent=False),
        ),
        path(
            r"android-icon-144x144.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/android-icon-144x144.png"), permanent=False),
        ),
        path(
            r"favicon.ico",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/favicon.ico"), permanent=False),
            name="favicon",
        ),
        path(
            r"apple-icon-57x57.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/apple-icon-57x57.png"), permanent=False),
            name="apple-icon-57",
        ),
        path(
            r"apple-icon-60x60.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/apple-icon-60x60.png"), permanent=False),
            name="apple-icon-60",
        ),
        path(
            r"apple-icon-72x72.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/apple-icon-72x72.png"), permanent=False),
            name="apple-icon-72",
        ),
        path(
            r"apple-icon-76x76.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/apple-icon-76x76.png"), permanent=False),
            name="apple-icon-76",
        ),
        path(
            r"apple-icon-114x114.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/apple-icon-114x114.png"), permanent=False),
            name="apple-icon-114",
        ),
        path(
            r"apple-icon-120x120.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/apple-icon-120x120.png"), permanent=False),
            name="apple-icon-120",
        ),
        path(
            r"apple-icon-144x144.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/apple-icon-144x144.png"), permanent=False),
            name="apple-icon-144",
        ),
        path(
            r"apple-icon-152x152.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/apple-icon-152x152.png"), permanent=False),
            name="apple-icon-152",
        ),
        path(
            r"apple-icon-180x180.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/apple-icon-180x180.png"), permanent=False),
            name="apple-icon-180",
        ),
        path(
            r"android-icon-192x192.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/android-icon-192x192.png"), permanent=False),
            name="apple-icon-192",
        ),
        path(
            r"favicon-32x32.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/favicon-32x32.png"), permanent=False),
            name="favicon-32",
        ),
        path(
            r"favicon-96x96.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/favicon-96x96.png"), permanent=False),
            name="favicon-96",
        ),
        path(
            r"favicon-16x16.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/favicon-16x16.png"), permanent=False),
            name="favicon-16",
        ),
        path(
            r"manifest.json",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/manifest.json"), permanent=False),
            name="icon-manifest",
        ),
        path(
            r"ms-icon-144x144.png",
            RedirectView.as_view(url=staticfiles_storage.url("favicons/ms-icon-144x144.png"), permanent=False),
            name="ms-icon",
        ),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant