lecoffre-front/next.config.js
2023-04-12 17:42:32 +02:00

16 lines
440 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
publicRuntimeConfig: {
// Will be available on both server and client
BACK_API_PROTOCOL: process.env.BACK_API_PROTOCOL,
BACK_API_HOST: process.env.BACK_API_HOST,
BACK_API_PORT: process.env.BACK_API_PORT,
BACK_API_ROOT_URL: process.env.BACK_API_ROOT_URL,
BACK_API_VERSION: process.env.BACK_API_VERSION,
},
};
module.exports = nextConfig;