| vite.config.mjs | ●●●●● patch | view | raw | blame | history |
vite.config.mjs
@@ -46,8 +46,8 @@ port: 2888, proxy: { '/api': { // target: 'http://localhost', target: 'https://wrj.shuixiongit.com/api', target: 'http://localhost', // target: 'https://wrj.shuixiongit.com/api', changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), },