mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-08 20:37:41 +00:00
move aliases to file storage
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user