Fix media routing & CI Perfs #12

Merged
Mathis merged 2 commits from dev into prod 2026-01-15 00:01:34 +01:00
Showing only changes of commit 7048c2731e - Show all commits

View File

@@ -6,7 +6,7 @@ import { S3Service } from "../s3/s3.service";
export class MediaController { export class MediaController {
constructor(private readonly s3Service: S3Service) {} constructor(private readonly s3Service: S3Service) {}
@Get(":key(*)") @Get("*key")
async getFile(@Param("key") key: string, @Res() res: Response) { async getFile(@Param("key") key: string, @Res() res: Response) {
try { try {
const stats = await this.s3Service.getFileInfo(key); const stats = await this.s3Service.getFileInfo(key);