Skip to content

Commit 61aeacb

Browse files
committed
minor #402 Add note about deploying dev environment to Heroku (bocharsky-bw, javiereguiluz)
This PR was merged into the master branch. Discussion ---------- Add note about deploying dev environment to Heroku According to the #398 Commits ------- 00259b7 Tweaked the warning message 5113ee5 Add note about deploying dev environment to Heroku
2 parents 665f1df + 00259b7 commit 61aeacb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
"postdeploy": "php bin/console doctrine:schema:create && php bin/console doctrine:fixtures:load -n"
1414
},
1515
"env": {
16-
"SYMFONY_ENV": "prod",
16+
"SYMFONY_ENV": {
17+
"value": "prod",
18+
"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."
19+
},
1720
"SYMFONY_LOG": "php://stderr",
1821
"SYMFONY_SECRET": {
1922
"description": "Extra entropy for %kernel.secret%; used for CSRF tokens, cookies and signed URLs.",

0 commit comments

Comments
 (0)