mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Add use of env var functionality.
This commit is contained in:
@@ -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)%'
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"gitignore": [
|
||||
"/config/packages/en_igdb_api.yaml"
|
||||
]
|
||||
"env": {
|
||||
"YOUR_BASE_URL": "",
|
||||
"YOUR_API_KEY": ""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user