From 0fba6a65b27e9c788b0e777b2cb0b729db60af1c Mon Sep 17 00:00:00 2001 From: "Calvin A. Allen" Date: Tue, 29 Oct 2024 10:31:58 -0400 Subject: [PATCH] This worked locally, will it work in GC? Let's find out! - Reduce base path --- client/src/api/ownerReducers.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/api/ownerReducers.tsx b/client/src/api/ownerReducers.tsx index c4d3596..1ef1ffd 100644 --- a/client/src/api/ownerReducers.tsx +++ b/client/src/api/ownerReducers.tsx @@ -4,7 +4,7 @@ import { Owner } from 'src/types/owner'; export const ownersApi = createApi({ baseQuery: fetchBaseQuery({ - baseUrl: 'http://petclinic-demogorgon.staging-service.nr-ops.net:8081/rest', + baseUrl: '/rest', prepareHeaders: (headers) => { headers.set('Content-Type', 'application/json'); return headers;