From 5917a94c9faadd1d26d48e00f2e9ccb7139f5896 Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Wed, 20 Jul 2022 15:49:25 +0200 Subject: [PATCH] Fix accidental breakage of prod detection for JS/frontend_server --- common/frontend_server/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/frontend_server/index.mjs b/common/frontend_server/index.mjs index d0871cfa..b44b2f81 100644 --- a/common/frontend_server/index.mjs +++ b/common/frontend_server/index.mjs @@ -69,7 +69,7 @@ export default async function(opts) { next(); } }); - const prod = process.env.NODE_ENV !== 'production'; + const prod = process.env.NODE_ENV === 'production'; const port = prod ? (process.env.PORT || 8086) : opts.port;