Skip to content

Commit

Permalink
modified config.js to use environment variables from .env file (ignor…
Browse files Browse the repository at this point in the history
…ed by Git)
  • Loading branch information
xiniria committed Nov 18, 2020
1 parent 44fe965 commit b2b63f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# environment variables
.env
2 changes: 2 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require('dotenv').config();

module.exports = {
platform: 'gitlab',
endpoint: 'https://gitlab.illuin.tech/api/v4',
Expand Down

0 comments on commit b2b63f9

Please sign in to comment.