Skip to content

Commit

Permalink
TASK: Add disclamer to README
Browse files Browse the repository at this point in the history
As version 7 of flow is not working with this package anymore, we should inform the users in the README.
  • Loading branch information
markusguenther authored Aug 20, 2021
1 parent 16a1f9d commit 5e5326e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

Fully featured CORS HTTP component (a.k.a. middleware) for Flow framework to allow "cross-domain" requests.


```
⚡️ Warning
This package is not working with version 7.0 and higher of the Neos/Flow framework.
In version 7.0 we introduced PSR-15 Middlewares and it is possible to use other PHP libraries instead.
For instance https://github.com/tuupola/cors-middleware
```


## Background

This package is a implementation of a CORS middleware for Cross-Origin Resource Sharing (see https://developer.mozilla.org/en-US/docs/Glossary/CORS).
Expand Down Expand Up @@ -102,4 +113,4 @@ Flowpack:
# Debugging flag adds additional logging to System.log to debug server-side CORS issues.
#
debug: false
```
```

0 comments on commit 5e5326e

Please sign in to comment.