Honumael (MasterQuestMaster)
Honumael (MasterQuestMaster)
CDCloudflare Developers
Created by Honumael (MasterQuestMaster) on 8/18/2024 in #workers-help
Worker is executed twice for each browser reload
Thank you! I'll try to add a dummy response.
5 replies
CDCloudflare Developers
Created by Honumael (MasterQuestMaster) on 8/18/2024 in #workers-help
Worker is executed twice for each browser reload
Can I disable loading the favicon?
5 replies
CDCloudflare Developers
Created by Honumael (MasterQuestMaster) on 8/18/2024 in #workers-help
Worker is executed twice for each browser reload
There is a request for /favicon.ico. So that executes everything again?
5 replies
CDCloudflare Developers
Created by paulc on 8/16/2024 in #workers-help
Browser Rendering worker re-executes before timing out
I also have a problem where my worker executes twice. For me it runs again immediately after the first run is done (which takes a few seconds). Did you manage to solve this yet? Edit: It seems for me it was because of the browser favicon. Since you load through curl, it's unlikely that we have the same issue.
4 replies
CDCloudflare Developers
Created by Honumael (MasterQuestMaster) on 8/17/2024 in #workers-help
TypeScript error with global Response object
wait a sec... it just started working with your solution. It seems it took a while to register the changes (even though I also restarted VS Code thinking that would update it). Thanks a lot for your help!
8 replies
CDCloudflare Developers
Created by Honumael (MasterQuestMaster) on 8/17/2024 in #workers-help
TypeScript error with global Response object
I tried to put it adjust my tsconfig to include "types" and put your code into "types/node.d.ts", but the error persists. The global.Response is what I get back when I: const response = await fetch("https://url") so it should be from node though.
8 replies
CDCloudflare Developers
Created by Honumael (MasterQuestMaster) on 8/17/2024 in #workers-help
TypeScript error with global Response object
Thanks, where would I put this?
8 replies