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