fixed .env
This commit is contained in:
parent
97bffdc201
commit
3725d0603c
@ -2,7 +2,8 @@ import fs from 'fs';
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
const __dirname = import.meta.dirname;
|
const __dirname = import.meta.dirname;
|
||||||
const ENV_FILE = path.resolve(__dirname, '..', '..', '.env');
|
// Path: shared/config -> shared -> src -> backend/.env (3 levels up)
|
||||||
|
const ENV_FILE = path.resolve(__dirname, '..', '..', '..', '.env');
|
||||||
|
|
||||||
interface EnvEntry {
|
interface EnvEntry {
|
||||||
key: string;
|
key: string;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user