Skip to content

Commit

Permalink
fix:deylop
Browse files Browse the repository at this point in the history
  • Loading branch information
oozm committed Jul 31, 2024
1 parent d07bb03 commit 4c79f2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
VITE_USE_MOCK = false

# public path
VITE_PUBLIC_PATH = /
VITE_PUBLIC_PATH = /uilist/

# timeout(seconds)
VITE_TIMEOUT = 15
Expand Down
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
VITE_USE_MOCK = false

# public path
VITE_PUBLIC_PATH = /
VITE_PUBLIC_PATH = /uilist/

# Delete console
VITE_DROP_CONSOLE = true
Expand Down
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 = isBuild ? '/uilist/' : _config.base;
publicPath = _config.base;
source = await getConfigSource(appTitle);
},
async transformIndexHtml(html) {
Expand Down

0 comments on commit 4c79f2f

Please sign in to comment.