mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
added serverside vars to client side env
This commit is contained in:
@ -4,6 +4,10 @@ require("dotenv").config({ path: "../../.env" });
|
|||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
swcMinify: false,
|
swcMinify: false,
|
||||||
|
env: {
|
||||||
|
IS_PULL_REQUEST: process.env.IS_PULL_REQUEST,
|
||||||
|
RENDER_EXTERNAL_URL: process.env.RENDER_EXTERNAL_URL,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const withTM = require("next-transpile-modules")([
|
const withTM = require("next-transpile-modules")([
|
||||||
|
|||||||
Reference in New Issue
Block a user