diff --git a/src/constants/apiPaths.ts b/src/constants/apiPaths.ts index 6846a7534..61b9287f0 100755 --- a/src/constants/apiPaths.ts +++ b/src/constants/apiPaths.ts @@ -2,7 +2,7 @@ const API_PATHS = { product: "https://.execute-api.eu-west-1.amazonaws.com/dev", order: "https://.execute-api.eu-west-1.amazonaws.com/dev", import: "https://.execute-api.eu-west-1.amazonaws.com/dev", - bff: "https://.execute-api.eu-west-1.amazonaws.com/dev", + bff: "https://rfme377yra.execute-api.eu-north-1.amazonaws.com/prod", cart: "https://.execute-api.eu-west-1.amazonaws.com/dev", }; diff --git a/src/queries/products.ts b/src/queries/products.ts index 090a803f3..919074a34 100644 --- a/src/queries/products.ts +++ b/src/queries/products.ts @@ -9,7 +9,7 @@ export function useAvailableProducts() { "available-products", async () => { const res = await axios.get( - `${API_PATHS.bff}/product/available` + `${API_PATHS.bff}/products` ); return res.data; }