From 25a0b66fcf480eb9361867596c1db58490f1b720 Mon Sep 17 00:00:00 2001
From: Max Stoiber <contact@mxstbr.com>
Date: Thu, 11 Aug 2016 23:04:29 +0200
Subject: [PATCH] Disable dot rule of connect-history-api-fallback (#422)

Ref #387
---
 package.json     | 2 +-
 scripts/start.js | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 4b83b1343..77910fcf3 100644
--- a/package.json
+++ b/package.json
@@ -46,7 +46,7 @@
     "babel-runtime": "6.11.6",
     "case-sensitive-paths-webpack-plugin": "1.1.3",
     "chalk": "1.1.3",
-    "connect-history-api-fallback": "1.2.0",
+    "connect-history-api-fallback": "1.3.0",
     "cross-spawn": "4.0.0",
     "css-loader": "0.23.1",
     "detect-port": "1.0.0",
diff --git a/scripts/start.js b/scripts/start.js
index 84cf4f712..aa68ab40f 100644
--- a/scripts/start.js
+++ b/scripts/start.js
@@ -173,6 +173,8 @@ function addMiddleware(devServer) {
   // Every unrecognized request will be forwarded to it.
   var proxy = require(paths.appPackageJson).proxy;
   devServer.use(historyApiFallback({
+    // Allow paths with dots in them to be loaded, reference issue #387
+    disableDotRule: true,
     // For single page apps, we generally want to fallback to /index.html.
     // However we also want to respect `proxy` for API calls.
     // So if `proxy` is specified, we need to decide which fallback to use.
-- 
GitLab