This commit is contained in:
thosakwe 2016-11-27 19:53:27 -05:00
parent dbd3d3e2f4
commit fc05e85bfc
3 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# angel_proxy # angel_proxy
![version 1.0.0-dev+2](https://img.shields.io/badge/version-1.0.0--dev+2-red.svg) ![version 1.0.0-dev+3](https://img.shields.io/badge/version-1.0.0--dev+3-red.svg)
![build status](https://travis-ci.org/angel-dart/proxy.svg?branch=master) ![build status](https://travis-ci.org/angel-dart/proxy.svg?branch=master)
Angel middleware to forward requests to another server (i.e. pub serve). Angel middleware to forward requests to another server (i.e. pub serve).

View file

@ -54,7 +54,6 @@ class ProxyLayer {
} }
router.get('$publicPath/*', handler); router.get('$publicPath/*', handler);
router.get(publicPath, (req, res) => serveFile('', req, res));
} }
serveFile(String path, RequestContext req, ResponseContext res) async { serveFile(String path, RequestContext req, ResponseContext res) async {

View file

@ -1,6 +1,6 @@
name: angel_proxy name: angel_proxy
description: Angel middleware to forward requests to another server (i.e. pub serve). description: Angel middleware to forward requests to another server (i.e. pub serve).
version: 1.0.0-dev+2 version: 1.0.0-dev+3
author: Tobe O <thosakwe@gmail.com> author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/proxy homepage: https://github.com/angel-dart/proxy
environment: environment: