Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cloudflare support #78

Open
internalG opened this issue Aug 30, 2024 · 0 comments
Open

Cloudflare support #78

internalG opened this issue Aug 30, 2024 · 0 comments

Comments

@internalG
Copy link

Is your feature request related to a problem? Please describe.
When deploy to Cloudflare pages, below errors occur.

ERROR: Failed to produce a Cloudflare Pages build from the project.
⚡️ The following routes were not configured to run with the Edge Runtime:
⚡️ - /account
⚡️ - /api/trpc/[trpc]
⚡️ - /api/webhooks/stripe
...
Please make sure that all your non-static routes export the following edge runtime route segment config:
export const runtime = 'edge';

I know cloudflare is an edge runtime only but it's cool to have it.

Describe the solution you'd like
We can deploy this to both Vercel and Cloudflare.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant