We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ff079d commit c64c803Copy full SHA for c64c803
lib/Server.js
@@ -256,11 +256,11 @@ function Server(compiler, options) {
256
var defaultFeatures = ["setup", "headers", "middleware"];
257
if(options.proxy)
258
defaultFeatures.push("proxy");
259
- if(options.historyApiFallback)
260
- defaultFeatures.push("historyApiFallback", "middleware");
261
defaultFeatures.push("magicHtml");
262
if(options.contentBase !== false)
263
defaultFeatures.push("contentBase");
+ if(options.historyApiFallback)
+ defaultFeatures.push("historyApiFallback", "middleware");
264
// compress is placed last and uses unshift so that it will be the first middleware used
265
if(options.compress)
266
defaultFeatures.unshift("compress");
0 commit comments