更新vite配置文件
This commit is contained in:
parent
ad5aeb4f98
commit
3a5e8340ce
@ -60,7 +60,6 @@ export default defineConfig({
|
|||||||
// 放行 monorepo apps 目录,便于 import.meta.glob 跨应用扫描
|
// 放行 monorepo apps 目录,便于 import.meta.glob 跨应用扫描
|
||||||
allow: [appsDir]
|
allow: [appsDir]
|
||||||
},
|
},
|
||||||
allowedHosts: ['code.jingrow.com'],
|
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api/action': {
|
'/api/action': {
|
||||||
target: process.env.VITE_JINGROW_SERVER_URL || 'http://192.168.2.58',
|
target: process.env.VITE_JINGROW_SERVER_URL || 'http://192.168.2.58',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user