diff --git a/src/resources/resources.controller.ts b/src/resources/resources.controller.ts index afd5df97a65ed6741e182a9a5984392acaa1bf95..332d8bb8f4227119da63c4ebbf01ad926d25bf5f 100644 --- a/src/resources/resources.controller.ts +++ b/src/resources/resources.controller.ts @@ -19,7 +19,7 @@ export class ResourcesController { @Param('filename') filename, @Res({ passthrough: true }) res: Response, ): StreamableFile { - const filepath = `files\\${filename}`; + const filepath = `files/${filename}`; if (!existsSync(filepath)) throw NOT_FOUND; const file = createReadStream(filepath); res.set({