From c6d4985cbaf45caf9532f34b50911c24cb850634 Mon Sep 17 00:00:00 2001 From: forehalo Date: Wed, 31 Jul 2024 07:19:32 +0000 Subject: [PATCH] fix: wrong public path for stable env (#7676) --- tools/cli/src/webpack/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cli/src/webpack/config.ts b/tools/cli/src/webpack/config.ts index bc1a70eb21..4ebdb40419 100644 --- a/tools/cli/src/webpack/config.ts +++ b/tools/cli/src/webpack/config.ts @@ -80,7 +80,7 @@ export const getPublicPath = (buildFlags: BuildFlags) => { return `https://dev.affineassets.com/`; } else if (BUILD_TYPE === 'beta') { return `https://beta.affineassets.com/`; - } else if (BUILD_TYPE === 'prod') { + } else if (BUILD_TYPE === 'stable') { return `https://prod.affineassets.com/`; } return publicPath;