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