Skip to content

[v2] DevServer improvements and fixes#2664

Merged
stffabi merged 4 commits intomasterfrom
bugfix/linux-fake-requestheaders
May 16, 2023
Merged

[v2] DevServer improvements and fixes#2664
stffabi merged 4 commits intomasterfrom
bugfix/linux-fake-requestheaders

Conversation

@stffabi
Copy link
Collaborator

@stffabi stffabi commented May 15, 2023

DevServer improvements and fixes

Fixes #2661
Fixes #2667

@stffabi stffabi requested a review from leaanthony May 15, 2023 06:54
@stffabi stffabi changed the title [v2] Fix devserver fote Vite >= 3.0.0 on linux and fix segfaults on darwin [v2] Fix devserver for Vite >= 3.0.0 on linux and fix segfaults on darwin May 15, 2023
@stffabi stffabi changed the title [v2] Fix devserver for Vite >= 3.0.0 on linux and fix segfaults on darwin [v2] DevServer improvements and fixes May 15, 2023
stffabi added 4 commits May 15, 2023 21:15
…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.
@stffabi stffabi force-pushed the bugfix/linux-fake-requestheaders branch from 0e133f2 to 3850a4f Compare May 15, 2023 19:15
@stffabi stffabi merged commit 4964619 into master May 16, 2023
@stffabi stffabi deleted the bugfix/linux-fake-requestheaders branch May 16, 2023 07:35
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebSocket Connection Failed after Update to V2.5.0 index.html not found Please try reloading the page

2 participants