Skip to content

Commit

Permalink
fix: 🐛 修倍base isprod入参错误问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiu-Jun committed Jul 26, 2024
1 parent 044b222 commit ffd0672
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* @Description:
* @Date: 2024-07-24 17:34:22
* @LastEditors: June
* @LastEditTime: 2024-07-26 09:13:33
* @FilePath: \element-fabric-editor\vite.config.mts
* @LastEditTime: 2024-07-26 23:01:27
* @FilePath: /element-fabric-editor/vite.config.mts
*/

import { defineConfig } from 'vite'
Expand All @@ -24,7 +24,7 @@ export default defineConfig(({ command, mode }: ConfigEnv): UserConfig => {
const envPrefix = 'APP_'

return {
base: isProd() ? env.APP_BASE_PATH : '/',
base: isProd(mode) ? env.APP_BASE_PATH : '/',
publicDir: 'resources',
plugins: createVitePlugins(mode, viteEnv),
server: {
Expand Down

0 comments on commit ffd0672

Please sign in to comment.