Skip to content

Commit

Permalink
fix RAZZLE check
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Jun 27, 2024
1 parent 2f684cb commit 41d3908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class Plone extends Construct {
// Frontend
const frontendPort = 3000;
var frontendEnvironment = options.frontendEnvironment ?? new kplus.Env([], {});
if (frontendEnvironment.variables.RAZZLE_API_PATH === undefined) {
if (frontendEnvironment.variables.RAZZLE_INTERNAL_API_PATH === undefined) {
frontendEnvironment?.addVariable('RAZZLE_INTERNAL_API_PATH', kplus.EnvValue.fromValue(`http://${backendService.name}:80`));
}

Expand Down

0 comments on commit 41d3908

Please sign in to comment.