From 2e9bc8330799203195b7cc34e2178dd379ecb0c0 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 29 Jun 2023 23:49:11 +0100 Subject: [PATCH] Fixes accidental local URL commit --- src/pages/Results.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Results.tsx b/src/pages/Results.tsx index 858e120..707fac9 100644 --- a/src/pages/Results.tsx +++ b/src/pages/Results.tsx @@ -118,7 +118,7 @@ const Results = (): JSX.Element => { jobId: 'get-ip', updateLoadingJobs, addressInfo: { address, addressType, expectedAddressTypes: urlTypeOnly }, - fetchRequest: () => fetch(`http://localhost:8888/.netlify/functions/find-url-ip?address=${address}`) + fetchRequest: () => fetch(`/find-url-ip?address=${address}`) .then(res => res.json()) .then(res => res.ip), });