Skip to content

Commit dd26014

Browse files
soffestSofia Shnaidman
andauthored
Fixed api base path in react app. (#131)
Co-authored-by: Sofia Shnaidman <[email protected]>
1 parent 4ec0422 commit dd26014

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kafka-ui-react-app/src/lib/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ConfigurationParameters } from 'generated-sources';
22

33
export const BASE_PARAMS: ConfigurationParameters = {
4-
basePath: process.env.REACT_APP_API_URL,
4+
basePath: process.env.REACT_APP_API_URL || '',
55
credentials: 'include',
66
headers: {
77
'Content-Type': 'application/json',

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<dockerfile-maven-plugin.version>1.4.10</dockerfile-maven-plugin.version>
2525
<frontend-maven-plugin.version>1.8.0</frontend-maven-plugin.version>
2626
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
27-
<openapi-generator-maven-plugin.version>4.2.2</openapi-generator-maven-plugin.version>
27+
<openapi-generator-maven-plugin.version>4.3.0</openapi-generator-maven-plugin.version>
2828
<swagger-annotations.version>1.6.0</swagger-annotations.version>
2929
<springdoc-openapi-webflux-ui.version>1.2.32</springdoc-openapi-webflux-ui.version>
3030
<kafka.version>2.4.1</kafka.version>

0 commit comments

Comments
 (0)