mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 08:48:01 +00:00
UBERF-8890 Fix invalid downloaded file name (#7457)
This commit is contained in:
parent
5175381f06
commit
c9bf99e07f
@ -60,7 +60,9 @@ const withBlob: RequestHandler<BlobRequest> = (request: BlobRequest) => {
|
|||||||
|
|
||||||
router
|
router
|
||||||
.get('/blob/:workspace/:name', withBlob, handleBlobGet)
|
.get('/blob/:workspace/:name', withBlob, handleBlobGet)
|
||||||
|
.get('/blob/:workspace/:name/:filename', withBlob, handleBlobGet)
|
||||||
.head('/blob/:workspace/:name', withBlob, handleBlobHead)
|
.head('/blob/:workspace/:name', withBlob, handleBlobHead)
|
||||||
|
.head('/blob/:workspace/:name/:filename', withBlob, handleBlobHead)
|
||||||
.delete('/blob/:workspace/:name', withBlob, handleBlobDelete)
|
.delete('/blob/:workspace/:name', withBlob, handleBlobDelete)
|
||||||
// Image
|
// Image
|
||||||
.get('/image/:transform/:workspace/:name', withBlob, handleImageGet)
|
.get('/image/:transform/:workspace/:name', withBlob, handleImageGet)
|
||||||
|
Loading…
Reference in New Issue
Block a user