Skip to content

Commit

Permalink
fix: refixing public base path
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonNotJson committed Sep 16, 2023
1 parent eb59c93 commit 1f991fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/constructs/presentation/web-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export class AmplifyMonoWebApp extends AbstractWebApp {
`https://${this.appProps.apiDomain}/staging`,
)
.addEnvironment('VITE_GA_ID', DEV_VITE_GA_ID)
.addEnvironment('VITE_PUBLIC_BASE_PATH', `https://${appDomain}`);
.addEnvironment('VITE_PUBLIC_BASE_PATH', `https://develop.${appDomain}`);

this.app.addCustomRule(
new amplify.CustomRule({
Expand All @@ -187,7 +187,7 @@ export class AmplifyMonoWebApp extends AbstractWebApp {
);
this.app.addEnvironment(
`VITE_MF_${name.toUpperCase()}_BASE_PATH`,
`https://dev.${appDomain}`,
`https://${appDomain}`,
);
}
}
Expand Down

0 comments on commit 1f991fd

Please sign in to comment.