diff --git a/backend/src/media/media.controller.ts b/backend/src/media/media.controller.ts index dddd313..b32e53e 100644 --- a/backend/src/media/media.controller.ts +++ b/backend/src/media/media.controller.ts @@ -6,7 +6,7 @@ import { S3Service } from "../s3/s3.service"; export class MediaController { constructor(private readonly s3Service: S3Service) {} - @Get(":key(*)") + @Get("*key") async getFile(@Param("key") key: string, @Res() res: Response) { try { const stats = await this.s3Service.getFileInfo(key);