Skip to content

Commit 5cc0126

Browse files
skwakmanSpaceK33z
authored andcommitted
fix for #612 (#613)
added additional `middleware` feature to express' use-chain after proxy to enable proxy-bypass retrievals to in-memory resources. Fixes #612.
1 parent c2481db commit 5cc0126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ function Server(compiler, options) {
292292

293293
var defaultFeatures = ["setup", "headers", "middleware"];
294294
if(options.proxy)
295-
defaultFeatures.push("proxy");
295+
defaultFeatures.push("proxy", "middleware");
296296
if(options.historyApiFallback)
297297
defaultFeatures.push("historyApiFallback", "middleware");
298298
defaultFeatures.push("magicHtml");

0 commit comments

Comments
 (0)