Fixed api base path in react app. (#131)
Co-authored-by: Sofia Shnaidman <sshnaidman@provectus.com>
This commit is contained in:
parent
4ec0422357
commit
dd26014be1
2 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -24,7 +24,7 @@
|
|||
<dockerfile-maven-plugin.version>1.4.10</dockerfile-maven-plugin.version>
|
||||
<frontend-maven-plugin.version>1.8.0</frontend-maven-plugin.version>
|
||||
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
|
||||
<openapi-generator-maven-plugin.version>4.2.2</openapi-generator-maven-plugin.version>
|
||||
<openapi-generator-maven-plugin.version>4.3.0</openapi-generator-maven-plugin.version>
|
||||
<swagger-annotations.version>1.6.0</swagger-annotations.version>
|
||||
<springdoc-openapi-webflux-ui.version>1.2.32</springdoc-openapi-webflux-ui.version>
|
||||
<kafka.version>2.4.1</kafka.version>
|
||||
|
|
Loading…
Add table
Reference in a new issue