move aliases to file storage

This commit is contained in:
Jurgis Sakalauskas
2023-10-30 11:30:16 +02:00
parent 1d7072aee0
commit e707fa838b
15 changed files with 135 additions and 37 deletions
@@ -8,6 +8,7 @@ export class KodiApiInterfaceController {
@Get()
@Header('content-type', 'text/html')
async main(@Res() res: Response) {
//todo - make the views directory global so no need to edit nest-cli.json every time
const readable = createReadStream(join(__dirname, './View/if.html'));
readable.pipe(res);
}