mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 06:19:24 +01:00
https instead of http for ~listening youtube link
This commit is contained in:
parent
0118f962b6
commit
ff7be1f31d
@ -287,7 +287,7 @@ var lastfm = function(dbot) {
|
||||
if(_.isObject(body) && _.has(body, 'items') && body.items.length > 0) {
|
||||
var link = body.items[0].id.videoId
|
||||
if(link) {
|
||||
cb(null,"http://youtu.be/" + link);
|
||||
cb(null,"https://youtu.be/" + link);
|
||||
} else {
|
||||
cb(null, undefined);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user