From dd386b2f1590b76afd4adfd466de049563c37a71 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Sat, 18 Dec 2021 20:18:22 +0100 Subject: [PATCH] Fix connection failing on systems with ipv6 enabled --- src/back/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/back/app.ts b/src/back/app.ts index 57b53fa..73ff50d 100644 --- a/src/back/app.ts +++ b/src/back/app.ts @@ -11,7 +11,7 @@ const base_url = process.env.SEALIOUS_BASE_URL || `http://localhost:${PORT}`; const MONGO_PORT = process.env.SEALIOUS_MONGO_PORT ? parseInt(process.env.SEALIOUS_MONGO_PORT) : 20724; -const MONGO_HOST = process.env.SEALIOUS_MONGO_HOST || "localhost"; +const MONGO_HOST = process.env.SEALIOUS_MONGO_HOST || "127.0.0.1"; export default class TheApp extends App { config = {