Fix media routing & CI Perfs #12
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user