This commit is contained in:
ap 2021-12-08 12:40:24 +08:00
parent 9fa1c73485
commit ca6d5365dd

View File

@ -17,8 +17,7 @@ export default (): UserConfig => {
// 请求代理地址 // 请求代理地址
const proxy = { const proxy = {
"/dev": { "/dev": {
// target: "http://127.0.0.1:8001", target: "http://127.0.0.1:8001",
target: "http://rjjgeibqc2.localtunnel-cool.cool-js.cloud",
changeOrigin: true, changeOrigin: true,
rewrite: (path: string) => path.replace(/^\/dev/, "") rewrite: (path: string) => path.replace(/^\/dev/, "")
}, },