mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-02-19 01:55:48 -05:00
update next pwa to new version
This commit is contained in:
parent
a40c2ded82
commit
143b4271fa
4 changed files with 1501 additions and 1469 deletions
|
@ -1 +0,0 @@
|
|||
This will be your database, it must exist because Docker can't mount the volume if it doesn't exist.
|
|
@ -1,18 +1,18 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
|
||||
const withPWA = require("next-pwa");
|
||||
|
||||
const nextConfig = withPWA({
|
||||
pwa: {
|
||||
dest: "public",
|
||||
disable: process.env.NODE_ENV == "development"
|
||||
},
|
||||
const nextConfig = {
|
||||
publicRuntimeConfig: {
|
||||
ALLOW_REGISTRATION: process.env.ALLOW_REGISTRATION,
|
||||
SHOW_HOME_PAGE: process.env.SHOW_HOME_PAGE,
|
||||
MAX_FILE_SIZE: process.env.MAX_FILE_SIZE,
|
||||
BACKEND_URL: process.env.BACKEND_URL
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
const withPWA = require("next-pwa")({
|
||||
dest: "public",
|
||||
disable: process.env.NODE_ENV == "development"
|
||||
});
|
||||
|
||||
|
||||
module.exports = withPWA(nextConfig);
|
||||
|
|
2949
frontend/package-lock.json
generated
2949
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -24,7 +24,7 @@
|
|||
"next": "^12.3.1",
|
||||
"next-cookies": "^2.0.3",
|
||||
"next-http-proxy-middleware": "^1.2.4",
|
||||
"next-pwa": "^5.5.2",
|
||||
"next-pwa": "^5.6.0",
|
||||
"react": "18.0.0",
|
||||
"react-dom": "18.0.0",
|
||||
"tabler-icons-react": "^1.44.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue