Sithu Khant
Explore posts from serversCDCloudflare Developers
•Created by Sithu Khant on 2/13/2025 in #workers-help
Svelte, Hono, and D1 database
This is my middleware:
This is how I used:
I also set like this in my
wrangler.json
file:
Why I am getting this error in my svlete project?
3 replies
CDCloudflare Developers
•Created by Sithu Khant on 2/11/2025 in #workers-help
How D1 work with Drizzle ORM?
I created a svelte repo using create cloudflare cli.
I found
for the drizzle config. Isn't only for local sqlite db, isn't? How can I config for production D1 database? I know I have to configure D1 in wrangler file. But there is no need to configure d1 database inside drizzle config file? How about generate and migrate?
12 replies
DTDrizzle Team
•Created by Sithu Khant on 2/11/2025 in #help
Drizzle and Cloudflare D1
I created a svelte repo using create cloudflare cli.
I found
for the drizzle config. Isn't only for local sqlite db, isn't? How can I config for production D1 database? I know I have to configure D1 in wrangler file. But there is no need to configure d1 database inside drizzle config file? How about generate and migrate?
1 replies
CDCloudflare Developers
•Created by Sithu Khant on 2/6/2025 in #workers-help
I deployed my Svelte site to Cloudflare Workers successfully, But...
But when I open my site on localhost it is just loading. I have been waiting for a long time, it is just loading.
How can I fix that?
2 replies
CDCloudflare Developers
•Created by Sithu Khant on 2/2/2025 in #workers-help
How can I add cron job to `wrangler.json` file?
I used svelitekit framework template and hosted to workers.
I see this in my
wrangler.json
file:
How can I add cron job to that file? How can I extand that file to cron job?21 replies