diff --git a/app.js b/app.js index 5fa1527..c0607d3 100644 --- a/app.js +++ b/app.js @@ -62,7 +62,7 @@ function isMobileDevice() { function getMobileUrl(service) { if (service.id === 'drive') { - return 'nc://'; + return 'nextcloud://openFiles'; } return service.mobileUrl; } diff --git a/index.html b/index.html index f27fe01..4aeae7e 100644 --- a/index.html +++ b/index.html @@ -117,6 +117,6 @@ - + diff --git a/services.json b/services.json index 070eb34..1e2a6ce 100644 --- a/services.json +++ b/services.json @@ -39,7 +39,7 @@ "description": "Cloud-Speicher", "domain": "drive.mischlabs.de", "url": "https://drive.mischlabs.de", - "mobileUrl": "nc://", + "mobileUrl": "nextcloud://openFiles", "category": "media", "accent": "#60a5fa", "icon": "folder", diff --git a/sw.js b/sw.js index c50bd7b..c94ea93 100644 --- a/sw.js +++ b/sw.js @@ -1,10 +1,10 @@ -const CACHE_NAME = 'mischlabs-pwa-v11'; +const CACHE_NAME = 'mischlabs-pwa-v12'; const APP_SHELL = [ '/', '/index.html', '/offline.html', '/style.css?v=27', - '/app.js?v=29', + '/app.js?v=30', '/services.json?v=1', '/manifest.webmanifest?v=3', '/icons/icon-192.png',