Skip to content

Commit

Permalink
[7-28] NelmioCorsBundleの設定を変更
Browse files Browse the repository at this point in the history
  • Loading branch information
hidenorigoto committed Dec 28, 2015
1 parent 198779f commit de36b68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/config/config.yml
Expand Up @@ -87,5 +87,5 @@ fos_rest:
nelmio_cors:
paths:
'^/api/':
allow_origin: []
allow_origin: ['http://127.0.0.1:8888']
allow_methods: ['GET']
5 changes: 5 additions & 0 deletions docs/lists/ch07/07-28.txt
@@ -0,0 +1,5 @@
nelmio_cors:
paths:
'^/api/':
allow_origin: ['http://127.0.0.1:8888']
allow_methods: ['GET']

0 comments on commit de36b68

Please sign in to comment.