htmljs-todo-example icon indicating copy to clipboard operation
htmljs-todo-example copied to clipboard

Internal Server Error after deploying to Cloudflare.

Open AbdurRehman712 opened this issue 2 years ago • 1 comments

AbdurRehman712 avatar Jul 22 '23 13:07 AbdurRehman712

I had this same error too. To fix it you need to setup the database on Cloudflare:

wrangler d1 execute <yourDatabaseName> --file=./db/schema.sql

cone56 avatar Jul 28 '23 09:07 cone56