fix: use Nextcloud iOS deep link scheme
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 11s

This commit is contained in:
Kroonk
2026-05-21 22:55:17 +02:00
parent 4bb07122ac
commit cde4035eb3
4 changed files with 5 additions and 5 deletions

2
app.js
View File

@@ -62,7 +62,7 @@ function isMobileDevice() {
function getMobileUrl(service) {
if (service.id === 'drive') {
return 'nc://';
return 'nextcloud://openFiles';
}
return service.mobileUrl;
}

View File

@@ -117,6 +117,6 @@
</svg>
</div>
<script src="/app.js?v=29" defer></script>
<script src="/app.js?v=30" defer></script>
</body>
</html>

View File

@@ -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",

4
sw.js
View File

@@ -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',