Change8

@cloudflare/vite-plugin@1.37.1

📦 cloudflare-workersView on GitHub →
1 features🐛 1 fixes🔧 1 symbols

Summary

This patch updates dependencies and enhances the Cloudflare Vite plugin to honor the X-Forwarded-Proto header for correct request URL construction in proxied environments, and adds a tunnel shortcut hint to CLI output.

✨ New Features

  • The Cloudflare Vite plugin now includes a "t + enter" tunnel hint alongside the other CLI shortcuts it prints.

🐛 Bug Fixes

  • The Vite plugin now correctly honors the X-Forwarded-Proto header when constructing the Worker's request.url, resolving issues where frameworks performing Origin/Host checks rejected requests when running behind a TLS-terminating reverse proxy or tunnel (Fixes #13801).

Affected Symbols