From 64dc85ee8963b4cca6f2db89a8a5f8d21c078bcd Mon Sep 17 00:00:00 2001 From: thosakwe Date: Sun, 2 Apr 2017 15:27:52 -0400 Subject: [PATCH] 1.0.2 --- README.md | 2 +- lib/src/proxy_layer.dart | 1 - lib/src/pub_serve_layer.dart | 1 - pubspec.yaml | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 784203b9..67e6461c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_proxy -[![version 1.0.1](https://img.shields.io/badge/version-1.0.1-brightgreen.svg)](https://pub.dartlang.org/packages/angel_proxy) +[![version 1.0.2](https://img.shields.io/badge/version-1.0.2-brightgreen.svg)](https://pub.dartlang.org/packages/angel_proxy) [![build status](https://travis-ci.org/angel-dart/proxy.svg)](https://travis-ci.org/angel-dart/proxy) Angel middleware to forward requests to another server (i.e. pub serve). diff --git a/lib/src/proxy_layer.dart b/lib/src/proxy_layer.dart index 28613a89..49b1f474 100644 --- a/lib/src/proxy_layer.dart +++ b/lib/src/proxy_layer.dart @@ -123,7 +123,6 @@ class ProxyLayer { }); await rs.forEach(res.buffer.add); - res.end(); return false; } } diff --git a/lib/src/pub_serve_layer.dart b/lib/src/pub_serve_layer.dart index 33875633..c963d7ac 100644 --- a/lib/src/pub_serve_layer.dart +++ b/lib/src/pub_serve_layer.dart @@ -1,4 +1,3 @@ -import 'dart:io'; import 'package:angel_route/angel_route.dart'; import 'proxy_layer.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 9369edd9..630d763c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: angel_proxy description: Angel middleware to forward requests to another server (i.e. pub serve). -version: 1.0.1 +version: 1.0.2 author: Tobe O homepage: https://github.com/angel-dart/proxy environment: