diff --git a/src/config/env.ts b/src/config/env.ts index 91e6480..2a72202 100644 --- a/src/config/env.ts +++ b/src/config/env.ts @@ -1,8 +1,7 @@ import { config } from 'dotenv'; import { hostname } from 'os'; -const envPath = process.env.BUILD_ENV_PATH; -config({ path: envPath }); +config(); const generateInstanceId = () => { return process.env.INSTANCE_ID || hostname() || `kord-${Math.random().toString(36).substring(2, 7)}`;