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