From e22dfb25d10b028bcfa91ddce5df9cb2cf3a628a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 21 Aug 2021 14:05:46 -0400 Subject: [PATCH] For local federation dev. --- src/shared/env.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/env.ts b/src/shared/env.ts index 505b5c1b..18a0b8fe 100644 --- a/src/shared/env.ts +++ b/src/shared/env.ts @@ -1,6 +1,6 @@ import { isBrowser } from "./utils"; -const testHost = "localhost:8536"; +const testHost = "localhost:8541"; let internalHost = (!isBrowser() && process.env.LEMMY_INTERNAL_HOST) || testHost; // used for local dev @@ -16,7 +16,7 @@ if (isBrowser()) { externalHost = `${window.location.hostname}${ ["1234", "1235"].includes(window.location.port) - ? ":8536" + ? ":8541" : window.location.port == "" ? "" : `:${window.location.port}`