Skip to content

Commit

Permalink
migration: composer: added nelmio/cors-bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Qymaen committed Feb 5, 2018
1 parent 8c2ae21 commit 451e4e3
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .env.dist
Expand Up @@ -18,4 +18,8 @@ PAYUM_SERVER_NAME=localhost
PAYUM_HTTP_HOST=http://${PAYUM_SERVER_NAME}:${PAYUM_NGINX_PORT}

# payum
DEFUSE_SECRET=def000007e98fe20fc86559bc6de11ecbc1cf052d872ad864d4865a1e93ad0fac00e93db865b611a01d2f15db7c45c81ce71d54334fffb26440080d6bb616b0bba148373
DEFUSE_SECRET=def000007e98fe20fc86559bc6de11ecbc1cf052d872ad864d4865a1e93ad0fac00e93db865b611a01d2f15db7c45c81ce71d54334fffb26440080d6bb616b0bba148373

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://localhost:?[0-9]*$
###< nelmio/cors-bundle ###
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -31,6 +31,7 @@
"klarna/checkout": "^4.0",
"makasim/yadm-bundle": "^0.2.1",
"mikemccabe/json-patch-php": "dev-master as 0.1.1",
"nelmio/cors-bundle": "^1.5",
"omnipay/common": "^3.0@alpha",
"paypal/rest-api-sdk-php": "^1.13",
"payum/offline": "^1.5",
Expand Down
60 changes: 59 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/bundles.php
Expand Up @@ -5,4 +5,5 @@
Makasim\Yadm\Bundle\YadmBundle::class => ['all' => true],
Payum\Bundle\PayumBundle\PayumBundle::class => ['all' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
Nelmio\CorsBundle\NelmioCorsBundle::class => ['all' => true],
];
9 changes: 9 additions & 0 deletions symfony.lock
Expand Up @@ -107,6 +107,15 @@
"mongodb/mongodb": {
"version": "1.2.0"
},
"nelmio/cors-bundle": {
"version": "1.5",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "1.5",
"ref": "7b6cbc842f8cd3d550815247d12294f6f304a8c4"
}
},
"omnipay/common": {
"version": "v3.0-alpha.1"
},
Expand Down

0 comments on commit 451e4e3

Please sign in to comment.