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
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 11s
This commit is contained in:
2
app.js
2
app.js
@@ -62,7 +62,7 @@ function isMobileDevice() {
|
|||||||
|
|
||||||
function getMobileUrl(service) {
|
function getMobileUrl(service) {
|
||||||
if (service.id === 'drive') {
|
if (service.id === 'drive') {
|
||||||
return 'nc://';
|
return 'nextcloud://openFiles';
|
||||||
}
|
}
|
||||||
return service.mobileUrl;
|
return service.mobileUrl;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -117,6 +117,6 @@
|
|||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/app.js?v=29" defer></script>
|
<script src="/app.js?v=30" defer></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
"description": "Cloud-Speicher",
|
"description": "Cloud-Speicher",
|
||||||
"domain": "drive.mischlabs.de",
|
"domain": "drive.mischlabs.de",
|
||||||
"url": "https://drive.mischlabs.de",
|
"url": "https://drive.mischlabs.de",
|
||||||
"mobileUrl": "nc://",
|
"mobileUrl": "nextcloud://openFiles",
|
||||||
"category": "media",
|
"category": "media",
|
||||||
"accent": "#60a5fa",
|
"accent": "#60a5fa",
|
||||||
"icon": "folder",
|
"icon": "folder",
|
||||||
|
|||||||
4
sw.js
4
sw.js
@@ -1,10 +1,10 @@
|
|||||||
const CACHE_NAME = 'mischlabs-pwa-v11';
|
const CACHE_NAME = 'mischlabs-pwa-v12';
|
||||||
const APP_SHELL = [
|
const APP_SHELL = [
|
||||||
'/',
|
'/',
|
||||||
'/index.html',
|
'/index.html',
|
||||||
'/offline.html',
|
'/offline.html',
|
||||||
'/style.css?v=27',
|
'/style.css?v=27',
|
||||||
'/app.js?v=29',
|
'/app.js?v=30',
|
||||||
'/services.json?v=1',
|
'/services.json?v=1',
|
||||||
'/manifest.webmanifest?v=3',
|
'/manifest.webmanifest?v=3',
|
||||||
'/icons/icon-192.png',
|
'/icons/icon-192.png',
|
||||||
|
|||||||
Reference in New Issue
Block a user