platform/packages/cors/README.md
2024-10-12 18:45:27 -07:00

10 lines
689 B
Markdown

# Protevus CORS middleware
![Pub Version (including pre-releases)](https://img.shields.io/pub/v/protevus_cors?include_prereleases)
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
[![Discord](https://img.shields.io/discord/1060322353214660698)](https://discord.gg/3X6bxTUdCM)
[![License](https://img.shields.io/github/license/dart-backend/protevus)](https://github.com/dart-backend/protevus/tree/master/packages/cors/LICENSE)
CORS headers middleware for Protevus. Ported from [Express CORS middleware](https://github.com/expressjs/cors) to Protevus framework.
For complete example usage, see the [example file](example/example.dart).