Skip to content

Commit

Permalink
Remove default HOST because this does not get overridden when running…
Browse files Browse the repository at this point in the history
… in prod
  • Loading branch information
Sander de Winter committed Apr 7, 2020
1 parent a19e20a commit 84970f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The server can be run locally and also deployed to Heroku. You will need to regi

3. Create a `.env` file in the root of the project with the following variables;

- `HOST` _(default is `http://localhost:3000`)_
- `HOST`
- `CLIENT_ID`
- `CLIENT_SECRET`

Expand Down
2 changes: 1 addition & 1 deletion config/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
HOST: process.env.HOST || 'http://localhost:3000'
HOST: process.env.HOST
};

0 comments on commit 84970f8

Please sign in to comment.