mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
commit
374ef3902c
@ -46,7 +46,9 @@ module.exports = function(RED) {
|
|||||||
isText = true;
|
isText = true;
|
||||||
} else if (parsedType.type !== "application") {
|
} else if (parsedType.type !== "application") {
|
||||||
isText = false;
|
isText = false;
|
||||||
} else if ((parsedType.subtype !== "octet-stream") && (parsedType.subtype !== "cbor")) {
|
} else if ((parsedType.subtype !== "octet-stream")
|
||||||
|
&& (parsedType.subtype !== "cbor")
|
||||||
|
&& (parsedType.subtype !== "x-protobuf")) {
|
||||||
checkUTF = true;
|
checkUTF = true;
|
||||||
} else {
|
} else {
|
||||||
// application/octet-stream or application/cbor
|
// application/octet-stream or application/cbor
|
||||||
|
Loading…
Reference in New Issue
Block a user