platform/README.md

14 lines
321 B
Markdown
Raw Normal View History

2016-12-03 00:35:10 +00:00
# cors
2016-12-05 02:16:54 +00:00
2017-04-10 02:47:15 +00:00
![1.0.0](https://img.shields.io/badge/version-1.0.0-brightgreen.svg)
2016-12-05 02:16:54 +00:00
![build status](https://travis-ci.org/angel-dart/cors.svg)
2016-12-03 00:35:10 +00:00
Angel CORS middleware.
2016-12-05 02:16:54 +00:00
Port of [the original Express CORS middleware](https://github.com/expressjs/cors).
```dart
main() {
var app = new Angel();
app.before.add(cors());
}
```