1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix base64 encoding of msg.payload in UDP out node.

This commit is contained in:
Mark Hindess 2014-09-08 20:11:12 +01:00
parent 995268c5df
commit 6368a43a02

View File

@ -142,7 +142,7 @@ module.exports = function(RED) {
} else {
var message;
if (node.base64) {
message = new Buffer(b64string, 'base64');
message = new Buffer(msg.payload, 'base64');
} else if (msg.payload instanceof Buffer) {
message = msg.payload;
} else {