mirror of
https://github.com/tedkulp/vidgrab
synced 2026-03-05 13:20:27 -05:00
16 lines
334 B
TypeScript
16 lines
334 B
TypeScript
import { Controller, Get } from '@nestjs/common';
|
|
|
|
import { Message } from '@vidgrab2/api-interfaces';
|
|
|
|
import { AppService } from './app.service';
|
|
|
|
@Controller()
|
|
export class AppController {
|
|
constructor(private readonly appService: AppService) {}
|
|
|
|
@Get('hello')
|
|
getData(): Message {
|
|
return this.appService.getData();
|
|
}
|
|
}
|