diff --git a/bin/telebitd.js b/bin/telebitd.js
index 4149f2d..96e9f59 100755
--- a/bin/telebitd.js
+++ b/bin/telebitd.js
@@ -338,9 +338,12 @@ controllers.relay = function (req, res, opts) {
return;
}
+ console.log('POST /api/relay:');
+ console.log(opts.body);
+ console.log();
return urequestAsync(opts.body).then(function (resp) {
res.setHeader('Content-Type', 'application/json');
- var resp = resp.toJSON();
+ resp = resp.toJSON();
res.end(JSON.stringify(resp));
});
};
diff --git a/lib/admin/index.html b/lib/admin/index.html
index 1a743f5..c63b5d1 100644
--- a/lib/admin/index.html
+++ b/lib/admin/index.html
@@ -104,6 +104,7 @@
+