From a6b29f1745afc80f4c9ae41ca25c8193085be7ac Mon Sep 17 00:00:00 2001 From: 778a69cd <778a69cd@potsda.mn> Date: Fri, 11 Aug 2023 13:39:48 +0200 Subject: [PATCH] Revert "reintroduce webmanifest for PWA compatability" This reverts commit c1299bddf619c04c6979c35972e4f95ea32bef9a. --- js/vite.config.js | 29 -------------------------- lib/web/mobilizon_web.ex | 2 +- lib/web/templates/page/index.html.heex | 1 - 3 files changed, 1 insertion(+), 31 deletions(-) diff --git a/js/vite.config.js b/js/vite.config.js index 2510c7666..97a0ff2eb 100644 --- a/js/vite.config.js +++ b/js/vite.config.js @@ -27,35 +27,6 @@ export default defineConfig(({ command }) => { // devOptions: { // enabled: true, // }, - manifest: { - name: "Mobilizon", - short_name: "Mobilizon", - orientation: "portrait-primary", - icons: [ - { - src: "./img/icons/android-chrome-192x192.png", - sizes: "192x192", - type: "image/png" - }, - { - src: "./img/icons/android-chrome-512x512.png", - sizes: "512x512", - type: "image/png" - }, - { - src: "./img/icons/android-chrome-maskable-192x192.png", - sizes: "192x192", - type: "image/png", - purpose: "maskable" - }, - { - src: "./img/icons/android-chrome-maskable-512x512.png", - sizes: "512x512", - type: "image/png", - purpose: "maskable" - } - ] - }, }), visualizer(), ], diff --git a/lib/web/mobilizon_web.ex b/lib/web/mobilizon_web.ex index a1f97a6e3..2c955e952 100644 --- a/lib/web/mobilizon_web.ex +++ b/lib/web/mobilizon_web.ex @@ -19,7 +19,7 @@ defmodule Mobilizon.Web do def static_paths, do: - ~w(index.html manifest.json manifest.webmanifest service-worker.js css fonts img js favicon.ico robots.txt assets) + ~w(index.html manifest.json service-worker.js css fonts img js favicon.ico robots.txt assets) def controller do quote do diff --git a/lib/web/templates/page/index.html.heex b/lib/web/templates/page/index.html.heex index f3764f3ec..7047727cb 100644 --- a/lib/web/templates/page/index.html.heex +++ b/lib/web/templates/page/index.html.heex @@ -6,7 +6,6 @@ -