add initial frame, kodi api module, static serve module, settings, etc.

This commit is contained in:
Jurgis Sakalauskas
2022-12-05 09:59:18 +02:00
parent 40e9244e31
commit 1ad27b4e8f
24 changed files with 15285 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
import { RequestRange } from './RequestRange/request-range.decorator';
import RequestRangeBytes from './RequestRange/request-range-bytes.class';
@Controller()
export class AppController {
constructor(private readonly appService: AppService) {}
@Get('api')
getElse(@RequestRange() requestedRange: RequestRangeBytes) {
return {
range: requestedRange,
};
}
@Get('*')
getHello(): string {
return this.appService.getHello();
}
}