dbot.webUrl for autoshorten too

This commit is contained in:
Sam Nicholls 2012-12-05 19:13:04 +00:00
parent 757344d580
commit c07b0c60f3

View File

@ -19,8 +19,8 @@ var autoshorten = function(dbot) {
// TODO: Make this use a decent URL shortener. Mine is shit. // TODO: Make this use a decent URL shortener. Mine is shit.
var options = { var options = {
'host': 'nc.no.de', 'host': dbot.webUrl,
'port': 80, 'port': dbot.webPort,
'path': '/mkurl?url=' + escape(url) 'path': '/mkurl?url=' + escape(url)
}; };