From acbffd2422adadf60f0c4987e29e73815df50a41 Mon Sep 17 00:00:00 2001 From: alireza-sharifpour Date: Wed, 9 Aug 2023 14:42:05 +0330 Subject: [PATCH] testing with production data --- src/configuration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configuration.ts b/src/configuration.ts index 6273907759..d5e022b062 100644 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -2,7 +2,7 @@ import development from './config/development'; import production from './config/production'; import { GlobalConfig } from './types/config'; -export const isProduction = process.env.NEXT_PUBLIC_ENV === 'production'; +export const isProduction = process.env.NEXT_PUBLIC_ENV !== 'production'; const envConfig = isProduction ? production : development;