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:
@@ -42,8 +42,9 @@ export async function getConfig() {
|
||||
return require("../../config-template").localConfig;
|
||||
}
|
||||
|
||||
if (process.env.NEXT_PUBLIC_ENV === "development" && !isCI) {
|
||||
return require("../../config").localConfig;
|
||||
if (process.env.NEXT_PUBLIC_ENV === "development") {
|
||||
const configPath = "../../config";
|
||||
return require(configPath).localConfig;
|
||||
}
|
||||
|
||||
let config = await get(edgeDomainToKey(domain));
|
||||
|
||||
Reference in New Issue
Block a user