From 2aed1d35d5e5da869523014297d475e2dc4f1924 Mon Sep 17 00:00:00 2001 From: caseyta Date: Thu, 22 Feb 2024 15:48:45 -0800 Subject: [PATCH] Update OLS API URL from ols to ols4 --- src/components/searchbox1.js | 2 +- src/components/searchbox2.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/searchbox1.js b/src/components/searchbox1.js index 045a705..704f095 100644 --- a/src/components/searchbox1.js +++ b/src/components/searchbox1.js @@ -36,7 +36,7 @@ class SearchBox1Comp extends Component { loadConceptsEbi = async (q) => { const query = q console.log(query) - var response = await axios.get('https://www.ebi.ac.uk/ols/api/select', { + var response = await axios.get('https://www.ebi.ac.uk/ols4/api/select', { params: { q: query, rows: 50, diff --git a/src/components/searchbox2.js b/src/components/searchbox2.js index 77fe64c..252f2ad 100644 --- a/src/components/searchbox2.js +++ b/src/components/searchbox2.js @@ -35,7 +35,7 @@ class SearchBox2Comp extends Component { loadConceptsEbi = async (q) => { const query = q console.log(query) - var response = await axios.get('https://www.ebi.ac.uk/ols/api/select', { + var response = await axios.get('https://www.ebi.ac.uk/ols4/api/select', { params: { q: query, rows: 50,