Skip to content

Commit a2b0b7b

Browse files
authored
Merge pull request #5 from JMLamodiere/move_controller_dir
move symfony controller dir and enable web profiler in dev
2 parents 0c8648b + d71d2e4 commit a2b0b7b

File tree

15 files changed

+518
-23
lines changed

15 files changed

+518
-23
lines changed

.env

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ APP_SECRET=d63e877b0444331114e7842dd8105ae1
2121
###< symfony/framework-bundle ###
2222

2323
###> nelmio/cors-bundle ###
24-
CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1|app\.swaggerhub\.com|jmlamodiere\.github\.io)(:[0-9]+)?$
24+
CORS_ALLOW_CREDENTIALS=true
25+
CORS_ORIGIN_REGEX=false
26+
CORS_ALLOW_ORIGIN=*
2527
###< nelmio/cors-bundle ###

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"friendsofphp/php-cs-fixer": "^2.16",
1818
"nelmio/cors-bundle": "^2.1",
1919
"phpunit/phpunit": "^9.4",
20-
"symfony/phpunit-bridge": "^5.1"
20+
"symfony/phpunit-bridge": "^5.1",
21+
"symfony/web-profiler-bundle": "4.4.*"
2122
},
2223
"config": {
2324
"platform": {

0 commit comments

Comments
 (0)