groktruth
Explore posts from serversBABetter Auth
•Created by Dev on 2/17/2025 in #help
React Router v7 Integration
My work around is to define 3 different api routes for get, set, delete then make a fetch call to them. and in those route, i will have access to the cloudflare binding and then do some stuff with kv. This doesn't sound right to me.
14 replies
BABetter Auth
•Created by Dev on 2/17/2025 in #help
React Router v7 Integration
Hi, I have a problem with the react router 7 framework mode + cloudflare when trying to set up second storage. So I am using the RR7 cloudflare template and it allows you to access all of the bindings through a prop passed to the loader and action. However, this prop is only available in those context. With betterAuth, we need to create a betterAuth instance isolated. I have no idea how to set up the second storage with this set up. Any idea?
14 replies
CDCloudflare Developers
•Created by groktruth on 3/24/2024 in #general-help
Nextjs's Images component is blocked by Cloudfare R2
Just one additional information, the requests made to cloudfare r2 dont have the referalls, it just has the user-agent, and i dont know what does that mean. I try to allow headers that has user agent but it doesnt work.
4 replies
CDCloudflare Developers
•Created by groktruth on 3/24/2024 in #general-help
Nextjs's Images component is blocked by Cloudfare R2
Hi, thank you for letting me know that. Unfortunarely, it doesnt work even when i am trying to mess with Image component's props. But if i change my bucket to public access, not connect to my domain, it works like normal, not the case when connect to my domain
4 replies
CDCloudflare Developers
•Created by groktruth on 3/3/2024 in #pages-help
Cloudfare R2 mismatches between 206 and 200 status code
Thanks for your response. I can fix the bug now
4 replies
CDCloudflare Developers
•Created by groktruth on 3/3/2024 in #pages-help
Cloudfare R2 mismatches between 206 and 200 status code
Hi, the size varies from 500mb to 2gb
4 replies