This commit is contained in:
Omar Najjar 2024-07-06 22:01:42 +10:00
parent 6d0fae555a
commit 816c903681
2 changed files with 16 additions and 18 deletions

View file

@ -1,21 +1,22 @@
{
"name": "Instinct App",
"short_name": "Instinct",
"start_url": "/",
"description": "A description of your app",
"start_url": "./index.html",
"display": "standalone",
"background_color": "#000000",
"theme_color": "#000000",
"description": "An instinct-driven app",
"icons": [
{
"src": "icon.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icon.png",
"sizes": "512x512",
"type": "image/png"
}
{
"src": "icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
}

View file

@ -3,11 +3,8 @@ self.addEventListener('install', (event) => {
caches.open('instinct-app-cache').then((cache) => {
return cache.addAll([
'/',
'/index.html',
'/styles.css',
'/script.js',
'/icon.png',
'/manifest.json',
'index.html',
'manifest.json',
]);
})
);