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",
|
"name": "Instinct App",
|
||||||
"short_name": "Instinct",
|
"short_name": "Instinct",
|
||||||
"start_url": "/",
|
"description": "A description of your app",
|
||||||
|
"start_url": "./index.html",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"background_color": "#000000",
|
"background_color": "#000000",
|
||||||
"theme_color": "#000000",
|
"theme_color": "#000000",
|
||||||
"description": "An instinct-driven app",
|
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "icon.png",
|
"src": "icon-192x192.png",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "icon.png",
|
"src": "icon-512x512.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -3,11 +3,8 @@ self.addEventListener('install', (event) => {
|
||||||
caches.open('instinct-app-cache').then((cache) => {
|
caches.open('instinct-app-cache').then((cache) => {
|
||||||
return cache.addAll([
|
return cache.addAll([
|
||||||
'/',
|
'/',
|
||||||
'/index.html',
|
'index.html',
|
||||||
'/styles.css',
|
'manifest.json',
|
||||||
'/script.js',
|
|
||||||
'/icon.png',
|
|
||||||
'/manifest.json',
|
|
||||||
]);
|
]);
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue