Fix aggregats URL

main
Kevin Belisle 2021-07-21 15:54:01 -04:00
parent 2ba00ab2c6
commit e4ecd5d1b1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}, },
{ {