From bdeff997af2c6a31398861578ae22b4d74304ec8 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Mon, 8 May 2023 21:51:11 +0100 Subject: [PATCH] fix json parse --- CommonServer/Utils/StartServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonServer/Utils/StartServer.ts b/CommonServer/Utils/StartServer.ts index 7a5f082ab1d..c08f4546f82 100644 --- a/CommonServer/Utils/StartServer.ts +++ b/CommonServer/Utils/StartServer.ts @@ -116,7 +116,7 @@ const init: Function = async ( window.process.env = {} } const envVars = '${JSON.stringify(process.env)}'; - window.process.env = JSONFunctions.parse(envVars); + window.process.env = JSON.parse(envVars); `; Response.sendJavaScriptResponse(req, res, script);