swellstores / horizon

Headless NextJS storefront starter powered by Swell
https://swell-horizon-demo.vercel.app/
MIT License
58 stars 52 forks source link

Cloudflare Pages support? #49

Closed ralphilius closed 1 year ago

ralphilius commented 1 year ago

Hello,

I'm trying to deploy on Cloudflare Pages, but it seems we need to add Edge Runtime config in api pages. I can make a PR to add the flag in each of the routes in api folder if you think it's good enough.

aanomm commented 1 year ago

i'm currently looking into using Swell + Cloudflare Pages and had read in the Swell Docs that Cloudflare Pages is supported. So I'd love to know what the official status is? Did you get Swell working with CFP @ralphilius?

ericingram commented 1 year ago

cc @logeshswell

logeshswell commented 1 year ago

@fucha-co @ralphilius We have a Github discussion to deploy swell storefronts in Cloudflare. I can also confirm that a few merchants are hosting their Swell storefronts via Cloudflare without any issues.

If you face any issues, please feel free to start a new thread in the below discussion. I am very happy to answer you. https://github.com/orgs/swellstores/discussions/279