From 4bb07122acc3f7bf3b9ad2dd8589f48c0d026e54 Mon Sep 17 00:00:00 2001 From: Kroonk Date: Thu, 21 May 2026 22:48:02 +0200 Subject: [PATCH] fix: avoid invalid Nextcloud browser login flow --- app.js | 2 +- index.html | 2 +- services.json | 2 +- sw.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index a65d7bc..5fa1527 100644 --- a/app.js +++ b/app.js @@ -62,7 +62,7 @@ function isMobileDevice() { function getMobileUrl(service) { if (service.id === 'drive') { - return 'https://drive.mischlabs.de/index.php/login/flow'; + return 'nc://'; } return service.mobileUrl; } diff --git a/index.html b/index.html index fb5b888..f27fe01 100644 --- a/index.html +++ b/index.html @@ -117,6 +117,6 @@ - + diff --git a/services.json b/services.json index de6801f..070eb34 100644 --- a/services.json +++ b/services.json @@ -39,7 +39,7 @@ "description": "Cloud-Speicher", "domain": "drive.mischlabs.de", "url": "https://drive.mischlabs.de", - "mobileUrl": "https://drive.mischlabs.de/index.php/login/flow", + "mobileUrl": "nc://", "category": "media", "accent": "#60a5fa", "icon": "folder", diff --git a/sw.js b/sw.js index 894d339..c50bd7b 100644 --- a/sw.js +++ b/sw.js @@ -1,10 +1,10 @@ -const CACHE_NAME = 'mischlabs-pwa-v10'; +const CACHE_NAME = 'mischlabs-pwa-v11'; const APP_SHELL = [ '/', '/index.html', '/offline.html', '/style.css?v=27', - '/app.js?v=28', + '/app.js?v=29', '/services.json?v=1', '/manifest.webmanifest?v=3', '/icons/icon-192.png',