diff --git a/vite.config.js b/vite.config.js index 7e940501..087584b8 100644 --- a/vite.config.js +++ b/vite.config.js @@ -14,7 +14,7 @@ export default ({ mode, command }) => { '/api': { // target: 'http://192.168.10.126:8889', - target: 'http://test.api.huitongys.com', + target: 'https://h5uapi.huitongys.com', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), },