diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-03-29 14:27:07 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-03-29 14:27:07 +0100 |
| commit | ab46c9007b862eb512fe66cc47a325a7a374e20c (patch) | |
| tree | 0ca936eaf96b5c7ea58d8838b6e2486fd5e4f3a4 /client | |
| parent | 5309b381e64f59b8f57014ad41e55d7f87ca0628 (diff) | |
load verified cites
Diffstat (limited to 'client')
| -rw-r--r-- | client/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/index.js b/client/index.js index dd60c0ed..5c8bc880 100644 --- a/client/index.js +++ b/client/index.js @@ -22,7 +22,7 @@ function appendReactApplet(el, payload) { function fetchDataset(payload) { if (payload.command === 'face_analysis') return new Promise(resolve => resolve()) if (payload.dataset === 'info') return new Promise(resolve => resolve()) - const url = "https://megapixels.nyc3.digitaloceanspaces.com/v1/citations/" + payload.dataset + ".json" + const url = "https://megapixels.nyc3.digitaloceanspaces.com/v1/citations/verified/" + payload.dataset + ".json" return fetch(url, { mode: 'cors' }).then(r => r.json()) } |
