fix(config): fix env path

This commit is contained in:
parent 6fd50a9c83
commit a0eea2cdde
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -1,7 +1,7 @@
import { resolve } from "path"; import { resolve } from "path";
import * as dotenv from "dotenv"; import * as dotenv from "dotenv";
const FUCKYOU = "/rockfic/abc-rockfic-v3"; const FUCKYOU = "/rockfic/abc-rockfic-v3";
dotenv.config({ path: resolve("/home/rockfic-staging/.env") }); dotenv.config({ path: resolve("/home/rockfic/rockfic-staging/.env") });
export const hasMigrated = false; export const hasMigrated = false;
export const uri = export const uri =
process.env.NODE_ENV == "development" process.env.NODE_ENV == "development"