mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-19 08:51:37 +03: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
|
||||
.get('/blob/:workspace/:name', withBlob, handleBlobGet)
|
||||
.get('/blob/:workspace/:name/:filename', withBlob, handleBlobGet)
|
||||
.head('/blob/:workspace/:name', withBlob, handleBlobHead)
|
||||
.head('/blob/:workspace/:name/:filename', withBlob, handleBlobHead)
|
||||
.delete('/blob/:workspace/:name', withBlob, handleBlobDelete)
|
||||
// Image
|
||||
.get('/image/:transform/:workspace/:name', withBlob, handleImageGet)
|
||||
|
Loading…
Reference in New Issue
Block a user