diff --git a/pages/js/lastfm-nowplay.js b/pages/js/lastfm-nowplay.js index 7f4f802..677faee 100644 --- a/pages/js/lastfm-nowplay.js +++ b/pages/js/lastfm-nowplay.js @@ -1,7 +1,7 @@ export function update_lastfm_nowplay() { let user = 'Alex_Popov'; let apikey = '5556942dcf4c422dca68d57fbbfdee23'; - let url = `http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=${user}&api_key=${apikey}&format=json&limit=1`; + let url = `https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=${user}&api_key=${apikey}&format=json&limit=1`; let status_text = document.getElementById('lastfm_card_title'); let song_text = document.getElementById('lastfm_card_content');