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

20 lines
487 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
2022-10-11 23:10:31 +02:00
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,
TWELVE_HOUR_TIME: process.env.TWELVE_HOUR_TIME
}
2022-10-11 23:10:31 +02:00
}
const withPWA = require("next-pwa")({
dest: "public",
disable: process.env.NODE_ENV == "development"
});
2022-04-25 15:15:17 +02:00
2022-10-11 23:10:31 +02:00
module.exports = withPWA(nextConfig);