]> Untitled Git - awful.systems.git/commitdiff
run lemmy-ui-prod in production mode
authorself <self@awful.systems>
Mon, 3 Jul 2023 01:17:25 +0000 (18:17 -0700)
committerself <self@awful.systems>
Mon, 3 Jul 2023 01:17:25 +0000 (18:17 -0700)
lemmy/prod/module.nix

index a2be39fbd02b1844b72206ed172d0afdcf5ae0c6..58cacb89910784721625cb14989a1e594dfbae66 100644 (file)
@@ -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 = [