From 857188896ed251da7241e9facee068073c6a66fa Mon Sep 17 00:00:00 2001 From: Maciej Bowszys Date: Thu, 2 Jul 2026 23:02:05 +0200 Subject: [PATCH] 260702_230205 --- website/static/manifest.json | 3 +-- website/static/script.js | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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;