From 58466ae8d3891cd65fedae5c9291a930ac5b942c Mon Sep 17 00:00:00 2001 From: simon987 Date: Wed, 8 May 2019 22:08:11 -0400 Subject: [PATCH] temporarily update api url --- music_graph/src/components/ArtistInfo.vue | 4 ++-- music_graph/src/components/HelloWorld.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)