mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-05 07:20:13 +01:00
19 lines
446 B
JavaScript
19 lines
446 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
|
|
const withPWA = require("next-pwa");
|
|
|
|
const nextConfig = withPWA({
|
|
pwa: {
|
|
dest: "public",
|
|
disable: process.env.NODE_ENV == "development"
|
|
},
|
|
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
|