mirror of
https://github.com/jsbin/jsbin.git
synced 2026-02-01 16:46:05 +00:00
Stringify options before sending
This commit is contained in:
parent
da39f3dab7
commit
37b01a9deb
@ -7,9 +7,9 @@ var socket = zmq.socket('push');
|
||||
|
||||
module.exports = function (options) {
|
||||
socket.bindSync(options.dropbox.port);
|
||||
socket.send({
|
||||
socket.send(JSON.stringify({
|
||||
options: options.dropbox
|
||||
});
|
||||
}));
|
||||
return {
|
||||
initialize: function () {
|
||||
active = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user