How to deploy next app using cloudflare workers?
I know that cloudflare offers pages for easy deployment of next. I cannot use pages because my repo is not hosted on github/gitlab.
I looked at next-on-pages project and I am building my project using
where
I deploy this project to workers using
How do i fix it?
I looked at next-on-pages project and I am building my project using
next-on-pages as the build command in my script which creates a .vercel directory and I have setup the main file of the worker correctly as well. This is my wrangler.toml file:where
cfbuild is my custom script.I deploy this project to workers using
wrangler deploy and the deployment happens correctly but when I visit the worker link, I am getting Internal Server Error.How do i fix it?