add jsonv-ts as dependency for type inference, fix media api types (#227)

* add jsonv-ts as dependency for type inference, fix media api types

* add jsonv-ts as dependency for type inference, fix media api types

* add jsonv-ts as dependency for type inference, fix media api types
This commit is contained in:
dswbx
2025-08-06 08:21:17 +02:00
committed by GitHub
parent aa0e6f90d9
commit ad0d2e6ff8
5 changed files with 13 additions and 13 deletions
@@ -183,13 +183,13 @@ export class StorageS3Adapter extends StorageAdapter {
method: "GET",
headers: pickHeaders2(headers, [
"if-none-match",
"accept-encoding",
//"accept-encoding", (causes 403 on r2)
"accept",
"if-modified-since",
]),
});
// Response has to be copied, because of middlewares that might set headers
// response has to be copied, because of middlewares that might set headers
return new Response(res.body, {
status: res.status,
statusText: res.statusText,