]> Untitled Git - lemmy-ui.git/commitdiff
Using LEMMY_UI_HOST
authorDessalines <tyhou13@gmx.com>
Tue, 30 Mar 2021 01:46:42 +0000 (21:46 -0400)
committerDessalines <tyhou13@gmx.com>
Tue, 30 Mar 2021 01:46:42 +0000 (21:46 -0400)
src/server/index.tsx

index 551fd74f0def8feeab344cfd1d16b532d429bc85..1c58ca8c51b7d09bd65a639f77b6f3d08e700eeb 100644 (file)
@@ -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());