enable CORS

This commit is contained in:
Nicolas Lœuillet
2015-02-27 21:26:43 +01:00
parent 0e7971d835
commit dcae2fc25d
3 changed files with 115 additions and 46 deletions

View File

@ -20,6 +20,7 @@ class AppKernel extends Kernel
new FOS\RestBundle\FOSRestBundle(),
new JMS\SerializerBundle\JMSSerializerBundle(),
new Nelmio\ApiDocBundle\NelmioApiDocBundle(),
new Nelmio\CorsBundle\NelmioCorsBundle(),
new Wallabag\CoreBundle\WallabagCoreBundle()
);