1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-10-01 00:50:10 +02:00
pingvin-share/frontend/next.config.js

19 lines
446 B
JavaScript
Raw Normal View History

2022-04-25 15:15:17 +02:00
/** @type {import('next').NextConfig} */
2022-04-28 15:02:38 +02:00
const withPWA = require("next-pwa");
const nextConfig = withPWA({
pwa: {
2022-05-02 22:42:27 +02:00
dest: "public",
disable: process.env.NODE_ENV == "development"
2022-04-28 15:02:38 +02:00
},
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
}
2022-04-28 15:02:38 +02:00
})
2022-04-25 15:15:17 +02:00
module.exports = nextConfig