flayks
05/17/2023, 10:09 PMSourabh.Sashank
05/18/2023, 7:17 AMhttps://pub-9c6706eacd0f4593bf740416e16b86be.r2.dev/Assets/BILLS/Expense-File-Name.jpg▾
flayks
05/18/2023, 9:30 AMSiclude
05/18/2023, 10:38 AMlevifig
05/18/2023, 12:36 PMcontent/octet-stream
but in reality it can be a JS or a CSS file), and this doesn't happen if pulling from the same bucket…
Scratching my head over this! (⊙.☉)7digitalpoint
05/18/2023, 5:37 PMManage R2 API Tokens
button. Not all API tokens show up in there, only ones with the Account: Workers R2 Storage
permission. However, editing an R2 API Token from the R2 dashboard wipes out all permissions for that token except for the R2 Storage permission.
I have an app that is used by thousands of Cloudflare zones that uses 16 permissions (one of them being R2 Storage) and I keep running into an issue where a site loses the 15 other permissions they have for that token because they edited the token from the R2 dashboard. The latest was when a user simply wanted to add IP restrictions to his token and he lost all the other token permissions. See: https://xenforo.com/community/threads/digitalpoint-app-for-cloudflare%C2%AE.206176/post-1628890
It's not the first time this has happened (I'd say I've run into 8-10 support issues because of this at this point). Wouldn't it make more sense to either not delete the other API permissions on the token or make tokens that only have the R2 permission able to be edited from there?Sid | R2
05/18/2023, 6:31 PMdigitalpoint
05/18/2023, 6:33 PMKarew
05/18/2023, 6:53 PMsathoro
05/18/2023, 7:42 PMput
. does this mean the client connected to the worker disconnected, or there was a network problem between the worker and R2? and if it means the client disconnected from the worker - why was the request outcome ok
and not canceled
?
https://cdn.discordapp.com/attachments/940663374377783388/1108842050767552593/image.png▾
Unsmart | Tech debt
05/18/2023, 7:43 PMUnsmart | Tech debt
05/18/2023, 7:44 PMsathoro
05/18/2023, 7:44 PMsathoro
05/18/2023, 7:45 PMFarhian
05/18/2023, 8:31 PMflayks
05/18/2023, 8:33 PMcess to fetch at 'https://assets.site.com/video.mp4' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
My CORS rule:
[
{
"AllowedOrigins": [
"http://localhost:5173",
"http://localhost:4173",
],
"AllowedMethods": [
"GET"
]
}
]
Farhian
05/18/2023, 8:34 PMflayks
05/18/2023, 8:34 PMFarhian
05/18/2023, 8:35 PMflayks
05/18/2023, 8:37 PMFarhian
05/18/2023, 8:38 PMSid | R2
05/18/2023, 8:50 PMFarhian
05/18/2023, 8:51 PMFarhian
05/18/2023, 8:51 PMhttps://cdn.discordapp.com/attachments/940663374377783388/1108859453123596380/image.png▾
Farhian
05/18/2023, 8:51 PMSid | R2
05/18/2023, 8:52 PMFarhian
05/18/2023, 8:52 PMFarhian
05/18/2023, 8:52 PMFarhian
05/18/2023, 8:52 PM