mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 12:19:06 +00:00
ci randomness
This commit is contained in:
@@ -32,7 +32,7 @@ export function edgeDomainToKey(domain: string) {
|
||||
export async function getConfig() {
|
||||
const domain = new URL(process.env.NEXT_PUBLIC_SITE_URL!).hostname;
|
||||
|
||||
if (isCI || isBuildPhase) {
|
||||
if (isCI) {
|
||||
// "noop"
|
||||
return require("../../config-template").localConfig;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
const nextConfig = {
|
||||
output: "standalone",
|
||||
experimental: { esmExternals: "loose" },
|
||||
env: {
|
||||
IS_CI: process.env.IS_CI,
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user