跨域配置

master
wujingling0908 1 week ago
parent 570fb1e334
commit 1b1d703e0e
  1. 2
      vite.config.js

@ -14,7 +14,7 @@ export default defineConfig(({ command }) => {
base: "/yykf/",
server: {
proxy: {
'/liics_api': {
'/yykf/liics_api': {
target: 'https://aioblu-sit.cpic.com.cn',
changeOrigin: true,
ws: true,

Loading…
Cancel
Save