From 1f991fd21eea63ec4128eae264de0d283c156f68 Mon Sep 17 00:00:00 2001 From: Jason Park Date: Sat, 16 Sep 2023 17:40:24 +0900 Subject: [PATCH] fix: refixing public base path --- lib/constructs/presentation/web-app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/constructs/presentation/web-app.ts b/lib/constructs/presentation/web-app.ts index 2deab2f83..a60b70365 100644 --- a/lib/constructs/presentation/web-app.ts +++ b/lib/constructs/presentation/web-app.ts @@ -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({ @@ -187,7 +187,7 @@ export class AmplifyMonoWebApp extends AbstractWebApp { ); this.app.addEnvironment( `VITE_MF_${name.toUpperCase()}_BASE_PATH`, - `https://dev.${appDomain}`, + `https://${appDomain}`, ); } }