Skip to content
Snippets Groups Projects
Commit 58fc748c authored by Hangzhi Yu's avatar Hangzhi Yu Committed by root
Browse files

Update serviceworker.js

bugfix PWA caching
parent 5347859c
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -4,22 +4,22 @@ const CACHE = "schoolapps-cache";
const precacheFiles = [
'/',
'/faq/',
'/faq',
];
const offlineFallbackPage = '/offline/';
const offlineFallbackPage = '/offline';
const networkFirstPaths = [
];
const avoidCachingPaths = [
'/admin/',
'/settings/',
'/support/',
'/faq/ask/',
'/aub/apply_for/',
'/aub/check1/',
'/aub/check2/',
'/admin',
'/settings',
'/support',
'/faq/ask',
'/aub/apply_for',
'/aub/check1',
'/aub/check2',
'/aktuell.pdf',
'/timetable/aktuell.pdf',
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment