This commit is contained in:
thosakwe 2017-03-01 22:37:37 -05:00
parent b493eb540d
commit 5713caf20f
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# angel_proxy
![version 1.0.0-dev+6](https://img.shields.io/badge/version-1.0.0--dev+6-red.svg)
![build status](https://travis-ci.org/angel-dart/proxy.svg?branch=master)
[![version 1.0.0](https://img.shields.io/badge/version-1.0.0-brightgreen.svg)](https://pub.dartlang.org/packages/angel_proxy)
[![build status](https://travis-ci.org/angel-dart/proxy.svg?branch=master)](https://travis-ci.org/angel-dart/proxy))
Angel middleware to forward requests to another server (i.e. pub serve).
Based on [this repo](https://github.com/agilord/http_request_proxy).

View file

@ -56,7 +56,7 @@ class ProxyLayer {
_prefix = publicPath.replaceAll(_straySlashes, '');
}
call(AngelBase app) async => serve(app);
call(Angel app) async => serve(app);
_printDebug(msg) {
if (debug == true) print(msg);