x
This commit is contained in:
parent
6d0fae555a
commit
816c903681
2 changed files with 16 additions and 18 deletions
|
|
@ -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",
|
||||
"src": "icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icon.png",
|
||||
"src": "icon-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
|
@ -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',
|
||||
]);
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue