Update URL

This commit is contained in:
Louai Haddad 2023-12-01 10:12:47 +00:00
parent 8e9cffe1af
commit 8ad92f4294

View File

@ -18,7 +18,7 @@ const Filter = (props) => {
useEffect(() => { useEffect(() => {
axios axios
.get("http://localhost:8000/data_api/levels/") .get("https://dev-iddrs.bicc.de/data_api/levels/")
.then((response) => { .then((response) => {
setLevels(response.data); setLevels(response.data);
console.log(response.data); console.log(response.data);
@ -28,7 +28,7 @@ const Filter = (props) => {
useEffect(() => { useEffect(() => {
axios axios
.get("http://localhost:8000/data_api/standards/") .get("https://dev-iddrs.bicc.de/data_api/standards/")
.then((response) => setStandards(response.data)) .then((response) => setStandards(response.data))
.catch((error) => console.log(error)); .catch((error) => console.log(error));
}, []); }, []);