Skip to content

Commit f7bc500

Browse files
committed
fixed config CLIENT_ID
1 parent b37cc88 commit f7bc500

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Copy `envSample` as `.env`.
66
Install node dependencies using `npm install`
77
Run the development server using `npm run start`
88

9-
The react app is deployed to heroku `https://react-app-drones-spanhawk.herokuapp.com`
109

1110
# Local Configuration Variables
1211
You can edit them in `.env` file.
@@ -33,4 +32,4 @@ You can use new configuration with below commands from [set-vars-on-heroku](http
3332
heroku config:set REACT_APP_API_BASE_PATH=new base url
3433
git commit --allow-empty -m "Set REACT_APP_API_BASE_PATH config var"
3534
git push heroku HEAD:master
36-
```
35+
```

envSample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
REACT_APP_API_BASE_PATH=https://kb-dsp-server.herokuapp.com
22
REACT_APP_SOCKET_URL=https://kb-dsp-server.herokuapp.com
3-
REACT_APP_AUTH0_CLIEND_ID=3CGKzjS2nVSqHxHHE64RhvvKY6e0TYpK
3+
REACT_APP_AUTH0_CLIEND_ID=XXXXzjS2nVSqHxHHE64RhvvKY6e0TYpK
44
REACT_APP_AUTH0_DOMAIN=dronetest.auth0.com
5-
REACT_APP_GOOGLE_API_KEY=AIzaSyCR3jfBdv9prCBYBOf-fPUDhjPP4K05YjE
5+
REACT_APP_GOOGLE_API_KEY=XXXXSyCR3jfBdv9prCBYBOf-fPUDhjPP4K05YjE

src/config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const config = {
1919
google: {
2020
apiKey: process.env.REACT_APP_GOOGLE_API_KEY
2121
},
22-
AUTH0_CLIEND_ID: process.env.REACT_APP_API_BASE_PATH,
22+
AUTH0_CLIEND_ID: process.env.REACT_APP_AUTH0_CLIEND_ID,
2323
AUTH0_DOMAIN: process.env.REACT_APP_AUTH0_DOMAIN,
2424
};
2525

0 commit comments

Comments
 (0)