Fix aggregats URL
parent
2ba00ab2c6
commit
e4ecd5d1b1
|
@ -28,7 +28,7 @@ const AggregatesShowcase = () => {
|
|||
const aggregates = useQuery(
|
||||
`aggregates`,
|
||||
async () => {
|
||||
const { data } = await axios.get(`http://localhost:7000/api/aggregates`);
|
||||
const { data } = await axios.get(`/api/aggregates`);
|
||||
return data;
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue