Uh oh!
There was an error while loading. Please reload this page.
fix(remix): Get env variables in Cloudflare Pages context - #2844
Conversation
🦋 Changeset detectedLatest commit: 2a7c670 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
arjunyel
commented
Feb 26, 2024
@octoper the reason I didn't combine the Remix + Cloudflare Pages and the Cloudflare Pages check is I was worried about it being a breaking change. Hope that makes sense 😄 |
89cb9ec to
440c9e2CompareJacobMGEvans
commented
Feb 29, 2024
Just bumping this, there are additional Remix users running into this problem. Thanks :) |
nikosdouvlis
left a comment
There was a problem hiding this comment.
Thank you for your contribution @arjunyel , this makes total sense to me!
Merging so we can get this out as soon as possible.
Uh oh!
There was an error while loading. Please reload this page.
(cherry picked from commit 9c34a75) * fix(clerk-js): Fix Remix + Cloudflare env variables
Description
Fixes#2778
Remix + Cloudflare pages now accesses environment variables via
context.cloudflare.envhttps://remix.run/blog/remix-vite-stable#cloudflare-pages-supportChecklist
npm testruns as expected.npm run buildruns as expected.Type of change