Commit bf12c416 authored by Dan Abramov's avatar Dan Abramov Committed by GitHub
Browse files

Reword comment

parent 12206832
Showing with 2 additions and 1 deletion
+2 -1
...@@ -204,7 +204,8 @@ function addMiddleware(devServer) { ...@@ -204,7 +204,8 @@ function addMiddleware(devServer) {
// Every unrecognized request will be forwarded to it. // Every unrecognized request will be forwarded to it.
var proxy = require(paths.appPackageJson).proxy; var proxy = require(paths.appPackageJson).proxy;
devServer.use(historyApiFallback({ devServer.use(historyApiFallback({
// Allow paths with dots in them to be loaded, reference issue #387 // Paths with dots should still use the history fallback.
// See https://github.com/facebookincubator/create-react-app/issues/387.
disableDotRule: true, disableDotRule: true,
// For single page apps, we generally want to fallback to /index.html. // For single page apps, we generally want to fallback to /index.html.
// However we also want to respect `proxy` for API calls. // However we also want to respect `proxy` for API calls.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment