Skip to content

Conversation

@shellscape
Copy link
Owner

This PR contains:

  • bugfix
  • feature
  • refactor
  • tests
  • documentation
  • metadata

Breaking Changes?

  • yes
  • no

If yes, please describe the breakage.

Please Describe Your Changes

Fixes #94. When using Firefox with the historyFallback option (connect-history-api-fallback), the /wps WebSocket path is incorrectly given an Accept header, which makes the middleware think it's a directory index. The added middleware strips that header in that event, preventing the error, only when the historyFallback option is used.

@shellscape shellscape merged commit 06aee44 into master Jan 28, 2019
@shellscape shellscape deleted the fix/middleware-accept branch January 28, 2019 12:44
@shellscape shellscape mentioned this pull request Mar 19, 2019
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HMR broken with historyFallback in Firefox

3 participants