Skip to content

Commit 1ebc845

Browse files
Update .changeset/fix-https-http2-host-port.md
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 4634ffa commit 1ebc845

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.changeset/fix-https-http2-host-port.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@cloudflare/vite-plugin": patch
33
---
44

5-
Preserve host and non-default port from Host/:authority when constructing Vite HTTPS/HTTP2 requests so X-Forwarded-Host keeps :5173 (fixes Clerk handshake redirects)
5+
Preserve the host and non-default port (e.g. `localhost:5173`) when the Vite dev server runs over HTTPS/HTTP2, so authentication flows such as Clerk no longer redirect-loop to the wrong origin

0 commit comments

Comments
 (0)