From dd26014be1e49b1ffc35e04e1fd812dcf0187333 Mon Sep 17 00:00:00 2001 From: soffest Date: Wed, 2 Dec 2020 16:54:35 +0300 Subject: [PATCH] Fixed api base path in react app. (#131) Co-authored-by: Sofia Shnaidman --- kafka-ui-react-app/src/lib/constants.ts | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kafka-ui-react-app/src/lib/constants.ts b/kafka-ui-react-app/src/lib/constants.ts index 9af9f4eba8..9ab695df5d 100644 --- a/kafka-ui-react-app/src/lib/constants.ts +++ b/kafka-ui-react-app/src/lib/constants.ts @@ -1,7 +1,7 @@ import { ConfigurationParameters } from 'generated-sources'; export const BASE_PARAMS: ConfigurationParameters = { - basePath: process.env.REACT_APP_API_URL, + basePath: process.env.REACT_APP_API_URL || '', credentials: 'include', headers: { 'Content-Type': 'application/json', diff --git a/pom.xml b/pom.xml index adba6bb5cd..1673ec7707 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ 1.4.10 1.8.0 3.5.1 - 4.2.2 + 4.3.0 1.6.0 1.2.32 2.4.1