It keeps randomly changing between the two versions of the chart when I refresh. I am very confused
It keeps randomly changing between the two versions of the chart when I refresh. I am very confused lol
wrangler secrets put to put on deployed appCannot apply new-class migration to class 'DurableObject' that is already depended on by existing Durable Objects [code: 10074], As per chatgpt it might be because I need to update the v in the workers. Does anyone have any idea and do I need to update the version everytime?
cache parameter, VS Code complains about this:preview_urls = true? That's kinda a crazy default to add without a notice; I feel like I missed something?workers.devtest.ourdomain.xyz. I can add a CNAME record on our DNS to point to the workers.dev url, but because there is no certificate for that it doesn't work.



wrangler secrets putCannot apply new-class migration to class 'DurableObject' that is already depended on by existing Durable Objects [code: 10074]v{
"code": 10021,
"message": "Uncaught SyntaxError: Unexpected token 'export'\n at worker.js:474\n"
}curl "https://api.cloudflare.com/client/v4/accounts/{acount}/workers/scripts/{worker}" \
-X PUT \
-H "Authorization: Bearer {token}" \
-H "Content-Type: multipart/form-data" \
--form "script=@worker.js;type=application/javascript" \
--form "metadata={\"main_module\": \"worker.js\", \"compatibility_date\": \"2025-04-02\", \"compatibility_flags\": [\"nodejs_compat\"]};type=application/json"cacheObject literal may only specify known properties, and 'cache' does not exist in type 'RequestInit<RequestInitCfProperties>'.ts(2353)preview_urls = trueworkers.devworkers.devtest.ourdomain.xyzfunction encodeBase64Bytes(bytes: Uint8Array): string {
return btoa(
bytes.reduce((acc, current) => acc + String.fromCharCode(current), "")
);
}function encodeBase64Bytes(bytes: Uint8Array): string {
const decoder = new TextDecoder('latin1');
const text = decoder.decode(bytes);
return btoa(text);
}