feat: remove validation for get image

This commit is contained in:
caturbgs 2021-12-21 14:39:18 +07:00
parent ebcf216fa7
commit f3863cd09f

View File

@ -67,6 +67,7 @@ export class ConfigurableController {
}; };
} }
@Public()
@Get('/image/:imgpath') @Get('/image/:imgpath')
seeUploadedFile(@Param('imgpath') image, @Res() res) { seeUploadedFile(@Param('imgpath') image, @Res() res) {
return res.sendFile(image, { root: './files' }); return res.sendFile(image, { root: './files' });