Skip to content

Commit

Permalink
update recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Guite committed Dec 23, 2024
1 parent 3c0ab02 commit 8bc68d2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@
###> symfony/framework-bundle ###
APP_ENV=prod
APP_DEBUG=0
APP_SECRET=%generate(secret)%
APP_SECRET=
DEFAULT_URI=https://localhost
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
#TRUSTED_HOSTS='^(localhost|example\\.com)$
###< symfony/framework-bundle ###

###> doctrine/doctrine-bundle ###
Expand Down
4 changes: 4 additions & 0 deletions .env.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

###> symfony/framework-bundle ###
APP_SECRET=%generate(secret)%
###< symfony/framework-bundle ###
1 change: 0 additions & 1 deletion config/packages/framework.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
#csrf_protection: true

# Note that the session will ONLY be started if you read or write from it.
session:
Expand Down
6 changes: 3 additions & 3 deletions symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -412,12 +412,12 @@
"version": "v5.2.0"
},
"symfony/framework-bundle": {
"version": "7.0",
"version": "7.2",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "7.0",
"ref": "6356c19b9ae08e7763e4ba2d9ae63043efc75db5"
"version": "7.2",
"ref": "87bcf6f7c55201f345d8895deda46d2adbdbaa89"
},
"files": [
"config/packages/cache.yaml",
Expand Down

0 comments on commit 8bc68d2

Please sign in to comment.