Update readme with badges

This commit is contained in:
Tobe O 2019-02-07 10:48:51 -05:00
parent 11550c8110
commit 405d4d4b27

View file

@ -1,7 +1,6 @@
# cors # cors
[![Pub](https://img.shields.io/pub/v/angel_cors.svg)](https://pub.dartlang.org/packages/angel_cors)
![1.0.0+1](https://img.shields.io/badge/version-1.0.0+1-brightgreen.svg) [![build status](https://travis-ci.org/angel-dart/cors.svg)](https://travis-ci.org/angel-dart/cors)
![build status](https://travis-ci.org/angel-dart/cors.svg)
Angel CORS middleware. Angel CORS middleware.
Port of [the original Express CORS middleware](https://github.com/expressjs/cors). Port of [the original Express CORS middleware](https://github.com/expressjs/cors).
@ -9,6 +8,6 @@ Port of [the original Express CORS middleware](https://github.com/expressjs/cors
```dart ```dart
main() { main() {
var app = new Angel(); var app = new Angel();
app.before.add(cors()); app.fallback(cors());
} }
``` ```