refactor: 生产环境url、public图片、es2022

This commit is contained in:
caiyuchao
2025-07-10 10:16:30 +08:00
parent 0a5b83ab32
commit c7dec9aa06
3 changed files with 3 additions and 3 deletions

View File

@@ -1,9 +1,9 @@
VITE_BASE=/
# 请求路径
VITE_BASE_URL=http://127.0.0.1:48080
VITE_BASE_URL=http://192.168.9.50:48080
# 接口地址
VITE_GLOB_API_URL=http://127.0.0.1:48080/admin-api
VITE_GLOB_API_URL=http://192.168.9.50:48080/admin-api
# 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务
VITE_UPLOAD_TYPE=server

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -65,7 +65,7 @@ function defineApplicationConfig(userConfigPromise?: DefineApplicationOptions) {
entryFileNames: 'jse/index-[name]-[hash].js',
},
},
target: 'es2015',
target: 'es2022',
},
css: createCssOptions(injectGlobalScss),
esbuild: {