Patch Changes
-
#13922
23800f8Thanks @edmundhung! - Add a tunnel shortcut hint when CLI shortcuts are printedThe Cloudflare Vite plugin now includes a
t + entertunnel hint alongside the other CLI shortcuts it prints. -
#13920
f579e57Thanks @petebacondarwin! - HonorX-Forwarded-Protowhen constructing the Worker'srequest.urlWhen running the Vite dev server behind a TLS-terminating reverse proxy or tunnel, the Worker's
request.urlwas alwayshttp://...even though the client reached the server overhttps://.... This caused frameworks that perform Origin/Host checks (e.g. CSRF protection) to reject requests with403.The Vite plugin now reads the
X-Forwarded-Protoheader from the incoming request and uses it to set the protocol ofrequest.url. If the header is absent or invalid, the connection protocol is used as before. The same handling is applied to WebSocket upgrade URLs.Fixes #13801.
-
Updated dependencies [
19ed49a,3ff0a50,bf688f7,2e72c83,802eaf4,506aa02,8f5cdb1,be8a98c]:- miniflare@4.20260515.0
- wrangler@4.92.0