feat: remove validation for get image
This commit is contained in:
parent
ebcf216fa7
commit
f3863cd09f
|
@ -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' });
|
||||||
|
|
Loading…
Reference in New Issue
Block a user