@ladjs/proxy
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -47,2 +47,6 @@ const http = require('http'); | ||
}); | ||
else | ||
router.use((req, res) => { | ||
res.end(); | ||
}); | ||
@@ -49,0 +53,0 @@ this.server = http.createServer((req, res) => { |
{ | ||
"name": "@ladjs/proxy", | ||
"description": "Proxy for Lad", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -6,0 +6,0 @@ "ava": { |
@@ -26,3 +26,3 @@ const test = require('ava'); | ||
const res = await request(proxy.server).get('/foobar'); | ||
t.is(res.status, 404); | ||
t.is(res.status, 200); | ||
}); | ||
@@ -29,0 +29,0 @@ |
8309
98