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 c760ffc commit be9a8cbCopy full SHA for be9a8cb
lib/Server.js
@@ -293,11 +293,11 @@ function Server(compiler, options) {
293
var defaultFeatures = ["setup", "headers", "middleware"];
294
if(options.proxy)
295
defaultFeatures.push("proxy");
296
+ if(options.historyApiFallback)
297
+ defaultFeatures.push("historyApiFallback", "middleware");
298
defaultFeatures.push("magicHtml");
299
if(options.contentBase !== false)
300
defaultFeatures.push("contentBase");
- if(options.historyApiFallback)
- defaultFeatures.push("historyApiFallback", "middleware");
301
// compress is placed last and uses unshift so that it will be the first middleware used
302
if(options.compress)
303
defaultFeatures.unshift("compress");
0 commit comments