summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newsbot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/newsbot.js b/newsbot.js
index c3dc65a..42d0666 100644
--- a/newsbot.js
+++ b/newsbot.js
@@ -222,7 +222,7 @@ function getShortLink (link, callback) {
data += chunk
})
response.on('end', function () {
- callback(null, data.replace(/\r\n$/,'') + '#' + URL.parse(link).host)
+ callback(null, data.replace(/\r\n$/,''))
})
})
}