refactor(config): add debug statement to db config

This commit is contained in:
parent 38907f6bb5
commit d3417ae9e6
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -3,6 +3,7 @@ import * as dotenv from "dotenv";
const FUCKYOU = "/rockfic/abc-rockfic-v3"; const FUCKYOU = "/rockfic/abc-rockfic-v3";
dotenv.config({ path: resolve("/home/rockfic/rockfic-staging/.env") }); dotenv.config({ path: resolve("/home/rockfic/rockfic-staging/.env") });
export const hasMigrated = false; export const hasMigrated = false;
console.log("indbconfig");
export const uri = export const uri =
process.env.NODE_ENV == "development" process.env.NODE_ENV == "development"
? `mongodb://127.0.0.1/${process.env.DBNAME}?authSource=admin` ? `mongodb://127.0.0.1/${process.env.DBNAME}?authSource=admin`