diff --git a/coka/cors-bundle/1.0/config/packages/oka_cors.yaml b/coka/cors-bundle/1.0/config/packages/oka_cors.yaml new file mode 100644 index 00000000..f6046535 --- /dev/null +++ b/coka/cors-bundle/1.0/config/packages/oka_cors.yaml @@ -0,0 +1,4 @@ +oka_cors: + default: + expose_headers: ['Accept-Encoding'] + max_age: 3600 diff --git a/coka/cors-bundle/1.0/manifest.json b/coka/cors-bundle/1.0/manifest.json new file mode 100644 index 00000000..a9d65c52 --- /dev/null +++ b/coka/cors-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Oka\\CORSBundle\\OkaCORSBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}