Allow to get blob metadata without authorization (#9615)

Since getting the blob itself does not require authorization

Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
This commit is contained in:
Anton Alexeyev
2025-07-30 16:55:30 +07:00
committed by GitHub
parent 88351f639f
commit 64530262bb
+1 -1
View File
@@ -204,7 +204,7 @@ export async function createServer (
// Blob meta
app.get('/meta/:workspace/:name', withAuthorization, withBlob, wrapRequest(ctx, 'getMeta', handleMetaGet))
app.get('/meta/:workspace/:name', withBlob, wrapRequest(ctx, 'getMeta', handleMetaGet))
app.put('/meta/:workspace/:name', withAuthorization, withBlob, wrapRequest(ctx, 'putMeta', handleMetaPut))