瀏覽代碼

修改配置

hjianglong 4 天之前
父節點
當前提交
8e8f6592c6
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      vue.config.js

+ 2 - 1
vue.config.js

@@ -26,7 +26,8 @@ module.exports = defineConfig({
             '/pdcApi': {
                 // target: 'https://app.slt.fujian.gov.cn:', // 你的后端服务器地址
                 changeOrigin: true,
-                target: 'http://39.98.38.2:18089/dc-api/',
+                // target: 'http://39.98.38.2:18089/dc-api/',
+                target: 'https://27.156.118.74:19901/pdcApi/',
                 // target: "http://127.0.0.1:8500/",
                 pathRewrite: {
                     '^/pdcApi': '' // 移除路径中的/api18185前缀