diff --git a/src/config/env.ts b/src/config/env.ts index 233adda..f16e150 100644 --- a/src/config/env.ts +++ b/src/config/env.ts @@ -1,8 +1,9 @@ import { config } from 'dotenv'; import { hostname } from 'os'; -declare const CUSTOM_ENV_PATH: string; -const envPath = typeof CUSTOM_ENV_PATH !== 'undefined' ? CUSTOM_ENV_PATH : './.env'; +declare const BUILD_ENV_PATH: string; + +const envPath = typeof BUILD_ENV_PATH !== 'undefined' ? BUILD_ENV_PATH : undefined; config({ path: envPath }); const generateInstanceId = () => {