From 6cec37322a319a69a9cbe1e4845f4b2babcc5ba2 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 29 Mar 2021 21:46:42 -0400 Subject: [PATCH] Using LEMMY_UI_HOST --- src/server/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/index.tsx b/src/server/index.tsx index 551fd74..1c58ca8 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -21,8 +21,8 @@ import { IncomingHttpHeaders } from "http"; import { setOptionalAuth } from "../shared/utils"; const server = express(); -const [hostname, port] = process.env["LEMMY_INTERNAL_HOST"] - ? process.env["LEMMY_INTERNAL_HOST"].split(":") +const [hostname, port] = process.env["LEMMY_UI_HOST"] + ? process.env["LEMMY_UI_HOST"].split(":") : ["0.0.0.0", "1234"]; server.use(express.json()); -- 2.44.1