mirror of
https://github.com/jakobkordez/s5_practice.git
synced 2025-05-15 16:20:31 +00:00
Try fix PWA
This commit is contained in:
parent
0c6ef017a6
commit
10c15949c5
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,7 +1,7 @@
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# PWA
|
||||
/public/sw.js*
|
||||
/public/service-worker.js*
|
||||
/public/workbox-*.js*
|
||||
|
||||
# dependencies
|
||||
|
@ -1,5 +1,6 @@
|
||||
const withPwa = require('next-pwa')({
|
||||
dest: 'public',
|
||||
sw: 'service-worker.js',
|
||||
});
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
|
@ -3,6 +3,7 @@
|
||||
"short_name": "S5 Vaja",
|
||||
"description": "Priprava na radioamaterski izpit",
|
||||
"start_url": "/priprave",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#2196f3",
|
||||
"theme_color": "#2196f3",
|
||||
|
Loading…
x
Reference in New Issue
Block a user