diff --git a/music_graph/src/components/ArtistInfo.vue b/music_graph/src/components/ArtistInfo.vue index 58e1c3f..f4cb4f6 100644 --- a/music_graph/src/components/ArtistInfo.vue +++ b/music_graph/src/components/ArtistInfo.vue @@ -23,10 +23,10 @@ let data = { } function reloadInfo(artist) { - Vue.http.get('http://localhost:3030/artist/details/' + artist.mbid) + Vue.http.get('https://mm.simon987.net/api/artist/details/' + artist.mbid) .then(response => { response.json().then(info => { - info.covers = info.releases.map(mbid => 'http://localhost:3030/cover/' + mbid) + info.covers = info.releases.map(mbid => 'https://mm.simon987.net/api/cover/' + mbid) data.artistInfo = info }) diff --git a/music_graph/src/components/HelloWorld.vue b/music_graph/src/components/HelloWorld.vue index a279834..200817e 100644 --- a/music_graph/src/components/HelloWorld.vue +++ b/music_graph/src/components/HelloWorld.vue @@ -351,7 +351,7 @@ function MusicGraph() { let mm = new MusicGraph() function expandArtist(mbid) { - d3.json('http://localhost:3030/artist/related/' + mbid) + d3.json('https://mm.simon987.net/api/artist/related/' + mbid) .then((r) => { originArtist = r.artists.find(a => a.mbid === mbid)