This commit is contained in:
Omar Najjar 2024-07-06 23:46:41 +10:00
parent 1e75f2df88
commit 44a0c58664
2 changed files with 4 additions and 6 deletions

View file

@ -1,5 +1,5 @@
{ {
"name": "Instinct App", "name": "Instinct",
"short_name": "Instinct", "short_name": "Instinct",
"description": "A description of your app", "description": "A description of your app",
"start_url": "./index.html", "start_url": "./index.html",

View file

@ -1,10 +1,8 @@
const CACHE_NAME = 'instinct-app-cache'; const CACHE_NAME = 'instinct-app-cache';
const urlsToCache = [ const urlsToCache = [
'./', '/instinct/',
'./index.html', '/instinct/index.html',
'./manifest.json', '/instinct/manifest.json',
'./icon-192x192.png',
'./icon-512x512.png',
]; ];
self.addEventListener('install', (event) => { self.addEventListener('install', (event) => {