vite.config.js
@@ -61,8 +61,8 @@ // 关键:用正则表达式匹配所有含/api的路径(忽略大小写) '^/api.*': { // 匹配以/api开头的任何路径(如/api、/api/xxx、/api?xx等) // target: 'http://154.23.189.28:8086', target:'https://api.crypt.mom', // target:'https://api.crypt.mom', target:'https://api.crypt.bond', // target:'https://api.crypt.bond', // target: 'https://by2.cccxxx.cc', changeOrigin: true, secure: false,