diff --git a/website/static/manifest.json b/website/static/manifest.json index a3dc73f..7640052 100644 --- a/website/static/manifest.json +++ b/website/static/manifest.json @@ -24,8 +24,7 @@ "share_target": { "action": "/film/parse_msg/", - "method": "POST", - "enctype": "application/x-www-form-urlencoded", + "method": "GET", "params": { "title": "title", "text": "text", diff --git a/website/static/script.js b/website/static/script.js index 61fba6c..9f9334b 100644 --- a/website/static/script.js +++ b/website/static/script.js @@ -1,11 +1,11 @@ var installPromptEvnt = null; window.onload = () => { - if ('serviceWorker' in navigator) { + /*if ('serviceWorker' in navigator) { navigator.serviceWorker.register('/empty_sw.js') .then((reg) => console.log('SW registered:', reg.scope)) .catch((err) => console.error('SW registration failed:', err)); - } + }*/ window.addEventListener("beforeinstallprompt", (e) => { installPromptEvnt = e;