Is it possible to configure wrangler to
Is it possible to configure wrangler to open something other than
localhost
when working locally?
[wrangler:inf] Ready on http://localhost:8788
, I'd like it to open a local alias instead of localhost but still maintain the protocol and port, e.g., http://<local-alias>:8788
... it's mainly to get around CORS stuff ๐5 Replies
this seems somewhat adjacent perhaps?
https://github.com/cloudflare/workers-sdk/discussions/3455
GitHub
Expose public URLs for wrangler dev ยท cloudflare workers-sdk ยท Disc...
๐ก Feature request Enable public access of wrangler dev workloads. Describe the feature This feature request is the opposite of cloudflare/wrangler-legacy#1820 (and any other "run workers local...
You can edit
etc/hosts
with any custom domain. The issue you're referencing is to expose local URLs to the public.thanks @Adam , I do have the
etc/hosts
updated already but I want wrangler dev to open that alias instead of localhost.ah...we don't have anything like that currently.
Ok, thanks for the update. Is that a reasonable request I should open somewhere official or is it silly?