Yeah the `legacy_env` or "legacy mode" is on by default. That may change in the future, but makes W2
Yeah the
legacy_env
or "legacy mode" is on by default. That may change in the future, but makes W2 adoption easier for Legacy Workers 🙂9 Replies
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
Make sure you have an AAAA record at that subdomain with a name of
api
and a value of 100::
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
It's in the documentation somewhere (let me find it, one sec), but basically what it is is a "discard route" so that traffic from your client is directed towards Cloudflare. Then Cloudflare intercepts it and directs it towards the Worker.
Under this section.
https://developers.cloudflare.com/workers/get-started/guide/#optional-configure-for-deploying-to-a-registered-domain
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
What version of
wrangler
? wrangler1
or wrangler2
?Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
That is Wrangler 1
To use Wrangler 2, it is
npm i wrangler@beta
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View