diff --git a/.env b/.env index 26fd054..8579a8f 100644 --- a/.env +++ b/.env @@ -1,3 +1,4 @@ REACT_APP_TAB_TITLE=Gepafin REACT_APP_API_EXECUTION_ADDRESS=https://api-dev-gepafin.memento.credit/v1 +REACT_APP_API_ADDRESS=https://api-dev-gepafin.memento.credit REACT_APP_LOGO_FILENAME=logo.svg \ No newline at end of file diff --git a/environments/dev/dev.env b/environments/dev/dev.env index 26fd054..8579a8f 100644 --- a/environments/dev/dev.env +++ b/environments/dev/dev.env @@ -1,3 +1,4 @@ REACT_APP_TAB_TITLE=Gepafin REACT_APP_API_EXECUTION_ADDRESS=https://api-dev-gepafin.memento.credit/v1 +REACT_APP_API_ADDRESS=https://api-dev-gepafin.memento.credit REACT_APP_LOGO_FILENAME=logo.svg \ No newline at end of file diff --git a/environments/prod/prod.env b/environments/prod/prod.env index 8fb4182..e7d2349 100644 --- a/environments/prod/prod.env +++ b/environments/prod/prod.env @@ -1,3 +1,4 @@ REACT_APP_TAB_TITLE=Gepafin REACT_APP_API_EXECUTION_ADDRESS=https://bandi-api.gepafin.it/v1 +REACT_APP_API_ADDRESS=https://bandi-api.gepafin.it REACT_APP_LOGO_FILENAME=logo.svg \ No newline at end of file diff --git a/src/pages/Login/index.js b/src/pages/Login/index.js index 16983a9..9b12b2d 100644 --- a/src/pages/Login/index.js +++ b/src/pages/Login/index.js @@ -12,7 +12,7 @@ import { Messages } from 'primereact/messages'; import { useSearchParams } from 'react-router-dom'; import AuthenticationService from '../../service/authentication-service'; -const API_BASE_URL = process.env.REACT_APP_API_EXECUTION_ADDRESS; +const API_BASE_URL = process.env.REACT_APP_API_ADDRESS; const Login = () => { const token = useStore().main.token();