Make API origin variable available on client side

This commit is contained in:
thiloho
2024-08-19 20:13:49 +02:00
parent bc7d242d3d
commit 488877b2ed
2 changed files with 2 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ in
};
script = ''
ORIGIN=https://${cfg.domain} PORT=${toString cfg.webAppPort} ${pkgs.nodejs_22}/bin/node ${cfg.package}/web-app
PUBLIC_ORIGIN=https://${cfg.domain} ORIGIN=https://${cfg.domain} PORT=${toString cfg.webAppPort} ${pkgs.nodejs_22}/bin/node ${cfg.package}/web-app
'';
};