Skip to content

TagSpaces is an offline, open source, document manager with tagging support

PWA optimizations

Ilian Sapundshiev97b3b7afda44
diff --git a/web/index.html b/web/index.html
index e672921f9..c53587cbf 100644
--- a/web/index.html
+++ b/web/index.html
@@ -24,6 +24,7 @@
</head>
<body style="overflow: hidden; margin: 0; padding: 0;">
+ <noscript>This app requires JavaScript</noscript>
<div id="root">
<div
style="text-align: center; width: 100%; height: 100%; font-size: 1.4em; position:absolute; z-index: 999999; background-color: #F5F5F5; user-select: none; -webkit-user-select: none; -moz-user-select: none; -webkit-app-region: drag"
diff --git a/web/service-worker.js b/web/service-worker.js
index 6ddcf8fbe..83dea967b 100644
--- a/web/service-worker.js
+++ b/web/service-worker.js
@@ -3,6 +3,7 @@
const CACHE_NAME = 'TAGSPACES_VERSION';
const FILES_TO_CACHE = [
+ 'offline.html',
'dist/bundle.js',
'dist/style.css',
'dist/roboto-v18-cyrillic_latin-100.ttf',