mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
dbot.webUrl for autoshorten too
This commit is contained in:
parent
757344d580
commit
c07b0c60f3
@ -19,8 +19,8 @@ var autoshorten = function(dbot) {
|
||||
|
||||
// TODO: Make this use a decent URL shortener. Mine is shit.
|
||||
var options = {
|
||||
'host': 'nc.no.de',
|
||||
'port': 80,
|
||||
'host': dbot.webUrl,
|
||||
'port': dbot.webPort,
|
||||
'path': '/mkurl?url=' + escape(url)
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user