mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修复 text/plain 通知消息替换
This commit is contained in:
+1
-1
@@ -1379,7 +1379,7 @@ function parseHeaders(headers) {
|
||||
|
||||
function parseBody(body, contentType, valueFormatFn) {
|
||||
if (contentType === 'text/plain' || !body) {
|
||||
return body;
|
||||
return valueFormatFn && body ? valueFormatFn(body) : body;
|
||||
}
|
||||
|
||||
const parsed = parseString(body, valueFormatFn);
|
||||
|
||||
Reference in New Issue
Block a user