From d520f897de09a337e2832a02d66abcb662c85db2 Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Fri, 22 Oct 2021 21:55:07 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fixed=20a=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/actions/comicinfo.actions.tsx | 2 +- src/client/components/Navbar.tsx | 2 +- src/server/index.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/actions/comicinfo.actions.tsx b/src/client/actions/comicinfo.actions.tsx index 702edd3..f117b44 100644 --- a/src/client/actions/comicinfo.actions.tsx +++ b/src/client/actions/comicinfo.actions.tsx @@ -29,7 +29,7 @@ export const comicinfoAPICall = (options) => async (dispatch) => { type: CV_API_CALL_IN_PROGRESS, inProgress: true, }); - const serviceURI = COMICBOOKINFO_SERVICE_URI + options.callURIAction; + const serviceURI = `${COMICBOOKINFO_SERVICE_URI}/${options.callURIAction}`; const response = await http(serviceURI, { method: options.callMethod, params: options.callParams, diff --git a/src/client/components/Navbar.tsx b/src/client/components/Navbar.tsx index d42bcab..b1c1db3 100644 --- a/src/client/components/Navbar.tsx +++ b/src/client/components/Navbar.tsx @@ -8,7 +8,7 @@ const Navbar: React.FunctionComponent = (props) => {