Skip to content

Commit

Permalink
Revert "Fix historyApiFallback for nested paths #216 (#602)"
Browse files Browse the repository at this point in the history
This reverts commit c64c803.
  • Loading branch information
SpaceK33z committed Sep 20, 2016
1 parent c760ffc commit be9a8cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,11 @@ function Server(compiler, options) {
var defaultFeatures = ["setup", "headers", "middleware"];
if(options.proxy)
defaultFeatures.push("proxy");
if(options.historyApiFallback)
defaultFeatures.push("historyApiFallback", "middleware");
defaultFeatures.push("magicHtml");
if(options.contentBase !== false)
defaultFeatures.push("contentBase");
if(options.historyApiFallback)
defaultFeatures.push("historyApiFallback", "middleware");
// compress is placed last and uses unshift so that it will be the first middleware used
if(options.compress)
defaultFeatures.unshift("compress");
Expand Down

0 comments on commit be9a8cb

Please sign in to comment.