diff --git a/manifest.webmanifest b/manifest.webmanifest index b2853d6..1da8d42 100644 --- a/manifest.webmanifest +++ b/manifest.webmanifest @@ -14,7 +14,7 @@ { "src": "icons/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any maskable" } ], "share_target": { - "action": "./share.html", + "action": "https://awl.data-it-solution.de/custom/baustelle/share.html", "method": "POST", "enctype": "multipart/form-data", "params": { @@ -22,9 +22,8 @@ "text": "text", "url": "url", "files": [ - { "name": "photos", "accept": ["image/*"] }, - { "name": "file", "accept": ["image/*"] }, - { "name": "files", "accept": ["image/*"] } + { "name": "photos", "accept": ["image/jpeg", "image/png", "image/webp", "image/*"] }, + { "name": "file", "accept": ["image/jpeg", "image/png", "image/webp", "image/*"] } ] } } diff --git a/sw.js b/sw.js index 10f2fd5..6def42e 100644 --- a/sw.js +++ b/sw.js @@ -4,7 +4,7 @@ * - API-Calls: network-first, kein offline-cache (da auth-pflichtig) */ -const CACHE = 'baustelle-v7'; +const CACHE = 'baustelle-v8'; const SHELL = [ './', './index.html',