From 900e21337c0988787e99547cc60a358522c9a35f Mon Sep 17 00:00:00 2001 From: Eugeniya Litvin Date: Sun, 11 Aug 2024 15:11:35 +0200 Subject: [PATCH] task-10 --- src/components/MainLayout/components/Header.tsx | 2 +- src/constants/apiPaths.ts | 17 ++++++----------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/src/components/MainLayout/components/Header.tsx b/src/components/MainLayout/components/Header.tsx index cdc18f2a85..9c225071a9 100755 --- a/src/components/MainLayout/components/Header.tsx +++ b/src/components/MainLayout/components/Header.tsx @@ -46,7 +46,7 @@ export default function Header() { - Board Game Store Task-9! + Board Game Store Task-10! {auth && ( diff --git a/src/constants/apiPaths.ts b/src/constants/apiPaths.ts index b764a67e24..2728255df4 100755 --- a/src/constants/apiPaths.ts +++ b/src/constants/apiPaths.ts @@ -1,15 +1,10 @@ -const be_path = 'https://5gwtxwth8l.execute-api.eu-west-1.amazonaws.com/prod'; -const cart_path = `https://bv8wa3591m.execute-api.eu-west-1.amazonaws.com/prod`; -//'http://localhost:3001' - const API_PATHS = { - product: be_path, - order: cart_path, - import: `https://92mkrazgkg.execute-api.eu-west-1.amazonaws.com/prod`, - bff: be_path, - cart: 'http://genielitvin-cart-api-dev4.eu-west-1.elasticbeanstalk.com/' , - + product:'http://genielitvin-bff-api-dev.eu-west-1.elasticbeanstalk.com', + order: `https://bv8wa3591m.execute-api.eu-west-1.amazonaws.com/prod`, + import: `https://92mkrazgkg.execute-api.eu-west-1.amazonaws.com/prod`, + bff: 'http://genielitvin-bff-api-dev.eu-west-1.elasticbeanstalk.com', + cart: 'http://genielitvin-bff-api-dev.eu-west-1.elasticbeanstalk.com/' , }; -/// + export default API_PATHS;