From 00559700449f9ef45f9235a109a8b9f6a3dfc6ea Mon Sep 17 00:00:00 2001 From: "Eric Richer eric.richer@vistoconsulting.com" Date: Mon, 22 Apr 2024 16:47:34 -0400 Subject: [PATCH 1/2] Fix #29 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d58880c..8cead5c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ [![Latest Stable Version](https://poser.pugx.org/lm-commons/lmc-cors/v)](//packagist.org/packages/lm-commons/lmc-cors) [![License](https://poser.pugx.org/lm-commons/lmc-cors/license)](//packagist.org/packages/lm-commons/lmc-cors) [![Total Downloads](https://poser.pugx.org/lm-commons/lmc-cors/downloads)](//packagist.org/packages/lm-commons/lmc-cors) +![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2Flm-commons%2Flmccors%2Fproperties%2Fvalues&query=%24%5B%3A1%5D.value&label=Maintenance%20Status) +[![Static Badge](https://img.shields.io/badge/Chat_on-Slack-blue)](https://join.slack.com/t/lm-commons/shared_invite/zt-2gankt2wj-FTS45hp1W~JEj1tWvDsUHQ) LmcCors is a simple Laminas MVC module that helps you to deal with Cross-Origin Resource Sharing (CORS). From 8755b4cb6ae16f7a3b15104e66b90466cb71eb09 Mon Sep 17 00:00:00 2001 From: "Eric Richer eric.richer@vistoconsulting.com" Date: Mon, 22 Apr 2024 16:49:23 -0400 Subject: [PATCH 2/2] Fixes #20 --- docs/docs/03-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/03-guide.md b/docs/docs/03-guide.md index dde41ec..283b100 100644 --- a/docs/docs/03-guide.md +++ b/docs/docs/03-guide.md @@ -24,7 +24,7 @@ As by default, all the various options are set globally for all routes: some browsers do not implement this feature correctly. - `allowed_credentials`: (boolean) If true, it allows the browser to send cookies along with the request. -If you want to configure specific routes, you can add `ZfrCors\Options\CorsOptions::ROUTE_PARAM` to your route configuration: +If you want to configure specific routes, you can add `LmcCors\Options\CorsOptions::ROUTE_PARAM` to your route configuration: ```php