From f3863cd09fa5376b4ea406764c9348e05247426f Mon Sep 17 00:00:00 2001 From: caturbgs Date: Tue, 21 Dec 2021 14:39:18 +0700 Subject: [PATCH] feat: remove validation for get image --- src/configurable/configurable.controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/configurable/configurable.controller.ts b/src/configurable/configurable.controller.ts index aacae71..e4474da 100644 --- a/src/configurable/configurable.controller.ts +++ b/src/configurable/configurable.controller.ts @@ -67,6 +67,7 @@ export class ConfigurableController { }; } + @Public() @Get('/image/:imgpath') seeUploadedFile(@Param('imgpath') image, @Res() res) { return res.sendFile(image, { root: './files' });