-
Hey, Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hey @AlessioGr — we've actually been working with another community member about deploying to Vercel in the following Discussion: TL;DR: Vercel is a serverless platform and Payload runs on Express. You can deploy Express apps to Vercel, but they don't recommend it. Check out that link for more info. Regarding Cloudflare Pages, I believe that platform is meant to serve static sites, and Payload comes with APIs. So I'm not sure that you'd be able to deploy Payload to Cloudflare Pages. |
Beta Was this translation helpful? Give feedback.
-
This is not possible because cloudflare only support edge runtime , and payload cms has dependency of nodemailer which does not work on edge runtime |
Beta Was this translation helpful? Give feedback.
-
Hi, now CloudFlare already supports “runntine node.js”, https://opennext.js.org/cloudflare#cloudflare the question is if there is a way to run PayloadCMS on CloudFlare Workers ? When I try to open the admin I get an error:
does anyone know any way? |
Beta Was this translation helpful? Give feedback.
Hey @AlessioGr — we've actually been working with another community member about deploying to Vercel in the following Discussion:
#519 (comment)
TL;DR: Vercel is a serverless platform and Payload runs on Express. You can deploy Express apps to Vercel, but they don't recommend it. Check out that link for more info.
Regarding Cloudflare Pages, I believe that platform is meant to serve static sites, and Payload comes with APIs. So I'm not sure that you'd be able to deploy Payload to Cloudflare Pages.