Casper
Casper
CDCloudflare Developers
Created by Casper on 1/12/2024 in #pages-help
R2 Explorer keeps giving out TypeErrors
i'm using GitHub project called R2 Explorer (https://github.com/G4brym/R2-Explorer) which is a Google Drive like GUI for your R2. i ran the command npm create r2-explorer@latest in CMD, named my folder the same name as my R2, deployed it, and it keeps saying "Waiting for deployment to become available" in CMD. i ran the Real-time logs thing on the brand new Cloudflare worker it created, and it keeps spitting out a whole string. i'm not sure if i wanna share this string, cause it contains confidential information. but the message that stuck out to me was: { "name": "TypeError", "message": "o3.replace is not a function", "timestamp": 1705060569539 } if someone could help that would be greatly appreciated 😊
3 replies
CDCloudflare Developers
Created by Casper on 12/22/2023 in #general-help
If someone types anything after the slash in my domain, can I make it redirect to my main website?
Hi all. I currently own a domain that I'm using as a CDN with Cloudflare's R2 service.I was wondering if I can make some sort of rule where no matter what anyone types after the slash in the CDN domain, it'll redirect to my main site? I can get this to work if people go to the CDN domain without the slash, but if I type something random after the slash, it'll take me to a "Not Found" page, that comes from Cloudflare R2. Is what I'm achieving possible? Please let me know. Thanks.
9 replies