Skip to content

Commit a8e9adc

Browse files
committed
bug #643 Update env variables for the heroku deployment (stof)
This PR was merged into the master branch. Discussion ---------- Update env variables for the heroku deployment I have not updated the SYMFONY_LOG one, as the monolog config does not use an env variable anymore for the log output, so it requires more work. Commits ------- f08d805 Update env variables for the heroku deployment
2 parents 29d97f8 + f08d805 commit a8e9adc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@
1515
"test": "phpunit"
1616
},
1717
"env": {
18-
"SYMFONY_ENV": {
18+
"APP_ENV": {
1919
"value": "prod",
2020
"description": "If you want to use the Symfony `dev` environment in the deployed application, you must move the necessary dependencies (like SensioGeneratorBundle) from `require-dev` to `require`. This will introduce security issues because development tools like the WebProfiler reveal sensitive information."
2121
},
22+
"APP_DEBUG": {
23+
"value": "0"
24+
}
2225
"SYMFONY_LOG": "php://stderr",
23-
"SYMFONY_SECRET": {
26+
"APP_SECRET": {
2427
"description": "Extra entropy for %kernel.secret%; used for CSRF tokens, cookies and signed URLs.",
2528
"generator": "secret"
2629
}

0 commit comments

Comments
 (0)