1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-05 15:30:14 +01:00
pingvin-share/frontend/next.config.js

19 lines
435 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
}
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);