fixed http cors
This commit is contained in:
parent
5be5ee5e40
commit
ce83d5c719
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user