From 405d4d4b27f13257013a1a83810f6cdabef3bfef Mon Sep 17 00:00:00 2001 From: Tobe O Date: Thu, 7 Feb 2019 10:48:51 -0500 Subject: [PATCH] Update readme with badges --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6da1ab45..c1e9652f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # 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) +[![Pub](https://img.shields.io/pub/v/angel_cors.svg)](https://pub.dartlang.org/packages/angel_cors) +[![build status](https://travis-ci.org/angel-dart/cors.svg)](https://travis-ci.org/angel-dart/cors) Angel CORS middleware. 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 main() { var app = new Angel(); - app.before.add(cors()); + app.fallback(cors()); } ``` \ No newline at end of file