+3
This commit is contained in:
parent
dbd3d3e2f4
commit
fc05e85bfc
3 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# 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)
|
||||
|
||||
Angel middleware to forward requests to another server (i.e. pub serve).
|
||||
|
|
|
@ -54,7 +54,6 @@ class ProxyLayer {
|
|||
}
|
||||
|
||||
router.get('$publicPath/*', handler);
|
||||
router.get(publicPath, (req, res) => serveFile('', req, res));
|
||||
}
|
||||
|
||||
serveFile(String path, RequestContext req, ResponseContext res) async {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: angel_proxy
|
||||
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>
|
||||
homepage: https://github.com/angel-dart/proxy
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue