mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-20 13:40:10 +08:00
style:lint
This commit is contained in:
parent
a9e9c81505
commit
7fd8c0c822
@ -61,7 +61,7 @@ export class OB11HttpServerAdapter extends IOB11NetworkAdapter<HttpServerConfig>
|
|||||||
}
|
}
|
||||||
if (!typeis.hasBody(req)) {
|
if (!typeis.hasBody(req)) {
|
||||||
next();
|
next();
|
||||||
return
|
return;
|
||||||
}
|
}
|
||||||
// 兼容处理没有带content-type的请求
|
// 兼容处理没有带content-type的请求
|
||||||
req.headers['content-type'] = 'application/json';
|
req.headers['content-type'] = 'application/json';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user