Try fix PWA

This commit is contained in:
Jakob Kordež 2023-05-17 23:08:56 +02:00
parent 0c6ef017a6
commit 10c15949c5
3 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -1,5 +1,6 @@
const withPwa = require('next-pwa')({
dest: 'public',
sw: 'service-worker.js',
});
/** @type {import('next').NextConfig} */

View File

@ -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",