nora
05/19/2023, 6:10 PMColin
05/19/2023, 6:10 PMnora
05/19/2023, 6:10 PMColin
05/19/2023, 6:10 PMJames
05/19/2023, 6:13 PMattfarhan
05/19/2023, 6:14 PMlet resp = await fetch(request)
resp = new Response(resp.body, resp)
resp.headers.append("Set-Cookie", newCookie) // only if they have no cookie yet
return resp
Does anyone have ideas on how to debug this, or common things to look out for when requests get canceled?
I have more details here in case more info is needed: https://discord.com/channels/595317990191398933/1109019842306134086/1109019842306134086,Colin
05/19/2023, 6:20 PMJames
05/19/2023, 6:20 PMColin
05/19/2023, 6:20 PMColin
05/19/2023, 6:21 PMsuper_pispis
05/19/2023, 9:27 PM@subsquid/ss58-codec
), however wrangler build fails and intellisense is obviously complaining. Does the node:
prefix for imports not work for scoped packages?Skye
05/19/2023, 9:29 PMnode:
prefixSkye
05/19/2023, 9:29 PMpath
, and buffer
super_pispis
05/19/2023, 9:30 PMsuper_pispis
05/19/2023, 9:30 PMSkye
05/19/2023, 9:30 PMsuper_pispis
05/19/2023, 9:30 PMSkye
05/19/2023, 9:31 PMsuper_pispis
05/19/2023, 9:31 PMassert
in this caseSkye
05/19/2023, 9:32 PMnodejs_compat
compatibility flag!Skye
05/19/2023, 9:32 PMnode:
https://developers.cloudflare.com/workers/runtime-apis/nodejs/Skye
05/19/2023, 9:33 PMnode:buffer
, for example, instead of just buffer
super_pispis
05/19/2023, 9:34 PMnode:
even with the nodejs_compat
flag?Skye
05/19/2023, 9:35 PMSkye
05/19/2023, 9:35 PMSkye
05/19/2023, 9:36 PMnode:package
, for examplesuper_pispis
05/19/2023, 9:37 PMsuper_pispis
05/19/2023, 9:38 PMSkye
05/19/2023, 9:39 PMchocolatkey
05/19/2023, 9:39 PM