Paige
Explore posts from serversCDCloudflare Developers
•Created by Paige on 1/8/2025 in #general-help
Caching R2 files when using signed urls
Alright, thanks :)
5 replies
CDCloudflare Developers
•Created by Paige on 1/8/2025 in #general-help
Caching R2 files when using signed urls
Okay, it seems I only found the workers example last time, which seemed kind of pointless since the pricing there is almost the same as R2's own pricing and thus most of the point of cost optimisation would be gone. With this HMAC approach it'd just be R2 costs (but lower since it's caching) and the 20$/month subscription, then, right? no other costs? or am I reading that incorrectly
5 replies
CDCloudflare Developers
•Created by Paige on 1/2/2025 in #general-help
R2 Bucket management
I haven't gotten to implementation yet, I am exploring documentation right now, my question was more about configuration (e.g. what origins a bucket is accessible from), rather than access to the buckets themselves
3 replies
DIAdiscord.js - Imagine an app
•Created by Paige on 11/12/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buff
Yeah I figured that out after reading the source code haha
8 replies
DIAdiscord.js - Imagine an app
•Created by Paige on 11/12/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buff
(It ended up working with file path, it was simply unclear that I was missing an intent there.. however the buffer method still isn't working, and throws the same error, I also did try making the buffer into a UInt8Array)
8 replies
DIAdiscord.js - Imagine an app
•Created by Paige on 11/12/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buff
(I tried replacing the buffer for a file path, which no longer gave an error but also didn't play anything back)
8 replies
DIAdiscord.js - Imagine an app
•Created by Paige on 11/12/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buff
node: v20.6.1
djs: @14.13.0
@djs/voice: @0.16.0
8 replies