We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e45053c commit edddc50Copy full SHA for edddc50
scripts/start.js
@@ -208,7 +208,7 @@ function addMiddleware(devServer) {
208
// So if `proxy` is specified, we need to decide which fallback to use.
209
// We use a heuristic: if request `accept`s text/html, we pick /index.html.
210
// Modern browsers include text/html into `accept` header when navigating.
211
- // However API calls like `fetch()` won’t generally won’t accept text/html.
+ // However API calls like `fetch()` won’t generally accept text/html.
212
// If this heuristic doesn’t work well for you, don’t use `proxy`.
213
htmlAcceptHeaders: proxy ?
214
['text/html'] :
0 commit comments