From e4ecd5d1b149362e307e6081a6d913e40a10a4ee Mon Sep 17 00:00:00 2001 From: Kevin Belisle Date: Wed, 21 Jul 2021 15:54:01 -0400 Subject: [PATCH] Fix aggregats URL --- spa/src/AggregatesShowcase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/src/AggregatesShowcase.js b/spa/src/AggregatesShowcase.js index 891954b..2cd1144 100644 --- a/spa/src/AggregatesShowcase.js +++ b/spa/src/AggregatesShowcase.js @@ -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; }, {