Skip to content

Commit

Permalink
fix json parse
Browse files Browse the repository at this point in the history
  • Loading branch information
simlarsen committed May 8, 2023
1 parent 53c0f9e commit bdeff99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CommonServer/Utils/StartServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bdeff99

Please sign in to comment.