.roomhogrc.mock.js is configured as follows:
const noProxy = (process.env.NO_PROXY === "true");
"GET /api/currentUser": {
$desc: "",
$params: {
pageSize: {
desc: "",
exp: 2,
},
},
$body: {
name: "Serati Ma",
avatar: "https://img.codeshelper.com/upload/img/2021/03/04/jwzizcyvazg3604.png",
userid: "00000001",
notifyCount: 12,
},
},
...
export default (noProxy
? { "/*": "http://test.servcer.com" }
: delay(proxy, 1000));
how should I modify the request or send it to localhost:8080, after this configuration? Urgent, ask for answers, ask for comments