mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
github debug
This commit is contained in:
@@ -32,11 +32,12 @@ export function edgeDomainToKey(domain: string) {
|
||||
export async function getConfig() {
|
||||
if (isCI) {
|
||||
// "noop"
|
||||
// TODO sometime later we may have proper config if we have bigger test suite that requires values from the config
|
||||
return require("../../config-template").localConfig;
|
||||
}
|
||||
|
||||
if (process.env.NEXT_PUBLIC_ENV === "development") {
|
||||
// helps to
|
||||
// helps to stop nextjs build from eager loading. don't inline it.
|
||||
const configPath = "../../config";
|
||||
return require(configPath).localConfig;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user