Skip to content

Commit 75bd89c

Browse files
wakookafeiqitian
authored andcommitted
Fixed typo in code comment (facebook#635)
1 parent 13306cf commit 75bd89c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function addMiddleware(devServer) {
208208
// So if `proxy` is specified, we need to decide which fallback to use.
209209
// We use a heuristic: if request `accept`s text/html, we pick /index.html.
210210
// Modern browsers include text/html into `accept` header when navigating.
211-
// However API calls like `fetch()` won’t generally won’t accept text/html.
211+
// However API calls like `fetch()` won’t generally accept text/html.
212212
// If this heuristic doesn’t work well for you, don’t use `proxy`.
213213
htmlAcceptHeaders: proxy ?
214214
['text/html'] :

0 commit comments

Comments
 (0)