From 9640214f241cc3cfd98d7e02406da3fa4c5c2509 Mon Sep 17 00:00:00 2001 From: Cedrick Oka Baidai Date: Fri, 14 Jun 2019 18:14:25 +0000 Subject: [PATCH] * Add a recipe for coka/cors-bundle 1.0 --- coka/cors-bundle/1.0/config/packages/oka_cors.yaml | 4 ++++ coka/cors-bundle/1.0/manifest.json | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 coka/cors-bundle/1.0/config/packages/oka_cors.yaml create mode 100644 coka/cors-bundle/1.0/manifest.json 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%/" + } +}