mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 20:22:39 +01:00
json format fix
This commit is contained in:
parent
4290126222
commit
eafeb23a77
@ -11,7 +11,7 @@ var autoshorten = function(dbot) {
|
|||||||
|
|
||||||
var site = http.createClient(80, 'http://nc.no.de');
|
var site = http.createClient(80, 'http://nc.no.de');
|
||||||
var request = site.request("GET", 'mkurl', { 'host' : 'http://nc.no.de/',
|
var request = site.request("GET", 'mkurl', { 'host' : 'http://nc.no.de/',
|
||||||
'url' + url});
|
'url': url});
|
||||||
request.end();
|
request.end();
|
||||||
|
|
||||||
request.on('response', function(response) {
|
request.on('response', function(response) {
|
||||||
|
Loading…
Reference in New Issue
Block a user