but it s just the files that are

but it's just the files that are actually on the bucket. In my local wrangler setup, the files will never be uploaded there because I have them locally in .wrangler/state/r2 then. But someone in the #wrangler channel suggested to just serve those files with any file server which I'll try now
6 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
divby0
divby0OP2y ago
hey, I went with the suggestion that someone made (to use the serve package) and it worked fine. The file names are exactly the key that you upload them with for me. Do you perhaps use the s3 api instead of the workers api?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
divby0
divby0OP2y ago
this si what the .wrangler/state/r2/R2i folder looks like for me (I put the database id of the object which is a auto-increment-number as the key)
divby0
divby0OP2y ago
Like because security is not an issue here and it was just to test around. In case it does matter: My package.json says I am using wrangler@^2.15.1
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server