This repository has been archived on 2024-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
wgdash/next.config.js
Christoph Heiss a9aa5be5c9
refactor: Make cookie 'secure' setting more configurable
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
2022-07-15 00:11:49 +02:00

17 lines
407 B
JavaScript

const path = require('path');
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
poweredByHeader: false,
sassOptions: {
includePaths: [
path.join(__dirname, 'src/styles'),
],
},
serverRuntimeConfig: {
COOKIE_PASSWORD: process.env.COOKIE_PASSWORD ?? 'developmentdevelopmentdevelopment',
INSECURE_COOKIES: process.env.INSECURE_COOKIES,
},
};