mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49:06 +00:00
fix non-dev
This commit is contained in:
@@ -30,7 +30,7 @@ export function edgeDomainToKey(domain: string) {
|
|||||||
|
|
||||||
// get edge config server-side (prefer DomainContext when available), domain is the hostname
|
// get edge config server-side (prefer DomainContext when available), domain is the hostname
|
||||||
export async function getConfig(domain: string) {
|
export async function getConfig(domain: string) {
|
||||||
if (isDevelopment()) {
|
if (process.env.NEXT_PUBLIC_ENV === "development") {
|
||||||
return require("../../config").localConfig;
|
return require("../../config").localConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user