src/config/proxy.ts @@ -9,6 +9,10 @@ target: 'https://show.cool-admin.com', changeOrigin: true, rewrite: (path: string) => path.replace(/^\/prod/, '/api') }, '/upload/': { target: 'http://127.0.0.1:8001', changeOrigin: true } };