Skip to content

Commit

Permalink
Add use of env var functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanuelNikolov committed Oct 28, 2018
1 parent a594df5 commit c501cb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
@@ -1,4 +1,4 @@
# Get your credentials by signing up here: https://api.igdb.com/admin
# Get your credentials by signing up here: https://api.igdb.com/admin and put them in your .env file
en_igdb_api:
base_url: "YOUR_BASE_URL"
api_key: "YOUR_API_KEY"
base_url: '%env(YOUR_BASE_URL)%'
api_key: '%env(YOUR_API_KEY)%'
7 changes: 4 additions & 3 deletions emanuilnikolov/igdb-api-bundle/1.0/manifest.json
Expand Up @@ -5,7 +5,8 @@
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"gitignore": [
"/config/packages/en_igdb_api.yaml"
]
"env": {
"YOUR_BASE_URL": "",
"YOUR_API_KEY": ""
}
}

0 comments on commit c501cb8

Please sign in to comment.