From 1a5399f1e3badabd4d429ba7400efd60fd6b5301 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 19 Aug 2021 21:29:12 +0200 Subject: :art: update bundle build --- bundle/src/Database.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'bundle/src') diff --git a/bundle/src/Database.ts b/bundle/src/Database.ts index 7351290a..12febc1c 100644 --- a/bundle/src/Database.ts +++ b/bundle/src/Database.ts @@ -10,6 +10,7 @@ if (process.arch == "ia32") { } export async function setupDatabase() { + if (process.env.MONGO_URL) return; // exit because the user provides his own mongodb const dbPath = path.join(__dirname, "..", "..", "db"); const dbName = "fosscord"; const storageEngine = "wiredTiger"; -- cgit 1.5.1