用 Charles 模拟接口请求出错

#1

代码
componentDidMount() {
axios
.get(’/api/todolist’)
.then((res) => {
console.log(‘succ’);
})
.catch(() => {
console.log(“error”);
});
}

charles Map local 配置

chrome 报错信息

希望有大佬指点一下 QAQ