Skip to content

Commit

Permalink
fix:config
Browse files Browse the repository at this point in the history
  • Loading branch information
oozm committed Jul 31, 2024
1 parent 60494d2 commit 1c208f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/vite-config/src/plugins/appConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function createAppConfigPlugin({
async configResolved(_config) {
const appTitle = _config?.env?.VITE_GLOB_APP_TITLE ?? '';
// appTitle = appTitle.replace(/\s/g, '_').replace(/-/g, '_');
publicPath = _config.base;
publicPath = isBuild ? '/uilist/' : _config.base;
source = await getConfigSource(appTitle);
},
async transformIndexHtml(html) {
Expand Down

0 comments on commit 1c208f0

Please sign in to comment.