[v2] DevServer improvements and fixes#2664
Merged
Conversation
3.0.0 on linux and fix segfaults on darwin3.0.0 on linux and fix segfaults on darwin
leaanthony
approved these changes
May 15, 2023
3.0.0 on linux and fix segfaults on darwin…versions to support proxying requests to other servers This fixes the devserver on v2 for newer vite versions that use the custom scheme.
… them by removing cache related headers in the request.
…or all Vite versions. Prevent missing reload after fast multiple savings on Linux and Windows.
0e133f2 to
3850a4f
Compare
Closed
misitebao
pushed a commit
that referenced
this pull request
May 27, 2023
* [assetserver, darwin] Fix copying request headers by using strdup * [assetserver, linux] Fake some basic http headers for legacy webkit2 versions to support proxying requests to other servers This fixes the devserver on v2 for newer vite versions that use the custom scheme. * [v2, windows] 304 responses are going to hang the WebView2 so prevent them by removing cache related headers in the request. * [v2, dev] Now uses the custom schemes `wails://` on macOS and Linux for all Vite versions. Prevent missing reload after fast multiple savings on Linux and Windows.
Merged
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DevServer improvements and fixes
Fixes #2661
Fixes #2667