Hello,
After deploying my project using Cloudflare Pages, I’m encountering a 500 error, and I’m having trouble identifying the root cause.
Here are some details about my setup:
I’m using Astro (v4.16.2) with Cloudflare Pages for deployment.
The project uses several Astro-related packages, including <@&1055234544183287879>/check (v0.9.4), <@&1055234544183287879>/cloudflare (v11.1.0), and <@&1055234544183287879>/db (v0.14.2).
The database is hosted on Turso (libsql).
In local development mode, everything works as expected, and the database connection functions properly when I use the --remote flag locally.
Given that the app works fine locally but results in a 500 error after deployment, I would greatly appreciate any guidance on how to troubleshoot or resolve this issue.
Thank you in advance for your help!