From 4009d253931069a2011816877df59fb324f9f76a Mon Sep 17 00:00:00 2001 From: self <self@awful.systems> Date: Sun, 2 Jul 2023 18:17:25 -0700 Subject: [PATCH] run lemmy-ui-prod in production mode --- lemmy/prod/module.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lemmy/prod/module.nix b/lemmy/prod/module.nix index a2be39f..58cacb8 100644 --- a/lemmy/prod/module.nix +++ b/lemmy/prod/module.nix @@ -228,6 +228,7 @@ in LEMMY_INTERNAL_HOST = "127.0.0.1:${toString cfg.settings.port}"; LEMMY_EXTERNAL_HOST = cfg.settings.hostname; LEMMY_HTTPS = "false"; + NODE_ENV = "production"; }; documentation = [ -- 2.44.1