vite配置
This commit is contained in:
+9
-4
@@ -14,6 +14,11 @@ export default defineConfig({
|
||||
host: true,
|
||||
open: true,
|
||||
proxy: {
|
||||
// 合同管理接口:合同发起、法务推送、数据采集回调等都走 /contract
|
||||
'/contract/': {
|
||||
target: 'http://127.0.0.1:8899',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/launch': {
|
||||
target: 'http://127.0.0.1:8899',
|
||||
changeOrigin: true,
|
||||
@@ -30,15 +35,15 @@ export default defineConfig({
|
||||
target: 'http://127.0.0.1:8899',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/seal': {
|
||||
target: 'http://127.0.0.1:8899',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/seal/ws': {
|
||||
target: 'ws://127.0.0.1:8899',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/seal': {
|
||||
target: 'http://127.0.0.1:8899',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user