-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[Workers] update local dev tunnel guides and add changelog #30822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: production
Are you sure you want to change the base?
Changes from 3 commits
a9a40d1
58095fc
d74a84d
8af0d26
6ec7733
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --- | ||
| title: Share local dev servers through Cloudflare Tunnel in Wrangler and Vite | ||
| description: You can now share local dev servers through Cloudflare Tunnel from Wrangler and the Cloudflare Vite plugin, with support for quick tunnels and named tunnels. | ||
| products: | ||
| - workers | ||
| date: 2026-05-18 | ||
| publish_future_dated_entry: true | ||
| --- | ||
|
|
||
| You can now share local dev sessions through [Cloudflare Tunnel](/tunnel/) and get a public URL when using either [Wrangler](/workers/wrangler/) or the [Cloudflare Vite plugin](/workers/vite-plugin/). This is useful when you need to share a preview, test a webhook, or access your app from another device. | ||
|
|
||
|  | ||
|
|
||
| This lets you either: | ||
|
|
||
| - start a temporary [Quick tunnel](/tunnel/setup/#quick-tunnels-development) with a random `*.trycloudflare.com` hostname, or | ||
| - use an existing [named tunnel](/tunnel/setup/#create-a-tunnel) for a stable hostname and to restrict access with Cloudflare Access. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's link to https://developers.cloudflare.com/cloudflare-one/access-controls/ for Access to make sure people understand how to protect these endpoints without searching.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added the link to |
||
|
|
||
| To start a tunnel, press `t` in Wrangler or `t + Enter` in Vite while your dev server is running. For details, refer to [Share a local dev server](/workers/development-testing/local-dev-tunnels/). | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: We don't show 'press t + enter` to open a tunnel in this gif (presumably because we are running a pre-release) but it would be great to show it so it's clearer what's happening.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the demo gif to include a
press t + enterhint. This is running off a pre-release and should be released either later today or Monday.