2016-12-03 00:35:10 +00:00
|
|
|
# cors
|
2016-12-05 02:16:54 +00:00
|
|
|
|
2017-04-15 19:45:29 +00:00
|
|
|
![1.0.0+1](https://img.shields.io/badge/version-1.0.0+1-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());
|
|
|
|
}
|
|
|
|
```
|