Dragonlord
Dragonlord
CDCloudflare Developers
Created by Dragonlord on 9/4/2024 in #general-help
Baselime stoped working for cloudflare worker, after I changed the name of the worker
Baselime stoped reporting analytics for a worker after I changed the name of the worker
4 replies
CDCloudflare Developers
Created by Dragonlord on 8/7/2024 in #workers-help
KV Put is not working have worker paid account
Also, I am having trouble using KV with Durable objects, I keep getting this error when using the put command
[wrangler:err] SyntaxError: Unexpected end of JSON input
[wrangler:err] SyntaxError: Unexpected end of JSON input
Sample code I am using with YOUR_KV_NAMESPACE being replaced with the KV I am using

await this.env.YOUR_KV_NAMESPACE.put("test", { "connectedAt": this.getCurrentTimeFormatted() });

await this.env.YOUR_KV_NAMESPACE.put("test", { "connectedAt": this.getCurrentTimeFormatted() });
3 replies
CDCloudflare Developers
Created by Dragonlord on 8/6/2024 in #general-help
Best Logging system
What is the best way to log stuff using cloudflare, is it using baselime and if so are console.logs captured by baselime?
3 replies