Skip to content

Commit 2f094d4

Browse files
authored
Fix file redirect route match regression (#3326)
1 parent 80b4b6f commit 2f094d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/file/file-url.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class FileUrlController {
2626
private readonly http: HttpAdapter,
2727
) {}
2828

29-
@Get(':fileId/:fileName?')
29+
@Get([':fileId', ':fileId/*'])
3030
async download(
3131
@Param('fileId') fileId: ID,
3232
@Query('download') download: '' | undefined,

0 commit comments

Comments
 (0)