Add use of env var functionality.

This commit is contained in:
Emanuil
2018-10-28 23:31:05 +02:00
parent a594df56b8
commit c501cb8002
2 changed files with 7 additions and 6 deletions

View File

@@ -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)%'

View File

@@ -5,7 +5,8 @@
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"gitignore": [
"/config/packages/en_igdb_api.yaml"
]
"env": {
"YOUR_BASE_URL": "",
"YOUR_API_KEY": ""
}
}