Skip to content

Commit

Permalink
Fixed typo in code comment (facebook#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
wakooka authored and feiqitian committed Oct 25, 2016
1 parent 13306cf commit 75bd89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'] :
Expand Down

0 comments on commit 75bd89c

Please sign in to comment.