Fix PWA build errors
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -146,7 +146,7 @@
|
||||
|
||||
// Register service worker (only on production build)
|
||||
serviceWorker: process.env.NODE_ENV ==='production' ? {
|
||||
path: '/service-worker.js',
|
||||
path: './service-worker.js',
|
||||
} : {},
|
||||
|
||||
// Input settings
|
||||
|
||||
Reference in New Issue
Block a user