For local federation dev.

This commit is contained in:
Dessalines 2021-08-21 14:05:46 -04:00
parent b27d982a7b
commit e22dfb25d1

View file

@ -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}`