fix env/config names
parent
1db5a32ef1
commit
f722aec648
|
@ -1,3 +1,4 @@
|
|||
API_URL=http://localhost:8080
|
||||
REACT_APP_PUBLIC_URL=http://localhost:3000
|
||||
REACT_APP_API_URL=http://localhost:8080
|
||||
|
||||
REACT_APP_WEBSITE_NAME="RetroPilot Connect - Development"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
PUBLIC_URL=https://connect.retropilot.org
|
||||
API_URL=https://api.retropilot.org
|
||||
REACT_APP_PUBLIC_URL=https://connect.retropilot.org
|
||||
REACT_APP_API_URL=https://api.retropilot.org
|
||||
|
||||
REACT_APP_WEBSITE_NAME="RetroPilot Connect"
|
||||
|
|
|
@ -2,12 +2,12 @@ const config = {
|
|||
/**
|
||||
* The address at which the website is hosted.
|
||||
*/
|
||||
publicUrl: process.env.PUBLIC_URL,
|
||||
publicUrl: process.env.REACT_APP_PUBLIC_URL,
|
||||
|
||||
/**
|
||||
* The address at which the API is accessible.
|
||||
*/
|
||||
apiUrl: process.env.API_URL,
|
||||
apiUrl: process.env.REACT_APP_API_URL,
|
||||
|
||||
/**
|
||||
* The name displayed in the website title.
|
||||
|
@ -15,4 +15,6 @@ const config = {
|
|||
websiteName: process.env.REACT_APP_WEBSITE_NAME,
|
||||
};
|
||||
|
||||
console.log({ config });
|
||||
|
||||
export default config;
|
||||
|
|
Loading…
Reference in New Issue