Commit edddc50a authored by Jerome Smadja's avatar Jerome Smadja Committed by Dan Abramov
Browse files

Fixed typo in code comment (#635)

parent e45053cf
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -208,7 +208,7 @@ function addMiddleware(devServer) {
// So if `proxy` is specified, we need to decide which fallback to use.
// We use a heuristic: if request `accept`s text/html, we pick /index.html.
// Modern browsers include text/html into `accept` header when navigating.
// However API calls like `fetch()` won’t generally won’t accept text/html.
// However API calls like `fetch()` won’t generally accept text/html.
// If this heuristic doesn’t work well for you, don’t use `proxy`.
htmlAcceptHeaders: proxy ?
['text/html'] :
......
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