Skip to content

Cloudflare support #78

Open
Open
@internalG

Description

@internalG

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions