提交 bcdc8b8d authored 作者: zyx's avatar zyx

update

上级 4ea8a06e
...@@ -161,7 +161,7 @@ const agentProcessor = () => { ...@@ -161,7 +161,7 @@ const agentProcessor = () => {
res.setHeader('Access-Control-Allow-Credentials', true) res.setHeader('Access-Control-Allow-Credentials', true)
if (e.response && e.response.status === 404 && options.method === 'OPTIONS') { if (e.response && e.response.status === 404 && options.method === 'OPTIONS') {
console.log(123) console.log(123)
res.status(200) res.status(204)
return return
} }
/* 记录 请求处理时长 + 请求状态 */ /* 记录 请求处理时长 + 请求状态 */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论