2024-04-04 17:02:42 +02:00
|
|
|
import { Controller, Get } from '@nestjs/common';
|
2024-05-22 21:45:16 +02:00
|
|
|
|
2024-04-04 17:02:42 +02:00
|
|
|
import { AppService } from './app.service';
|
|
|
|
|
|
|
|
@Controller()
|
|
|
|
export class AppController {
|
2024-05-22 21:45:16 +02:00
|
|
|
public constructor(private readonly appService: AppService) {}
|
2024-04-04 17:02:42 +02:00
|
|
|
|
|
|
|
@Get()
|
2024-05-22 21:45:16 +02:00
|
|
|
public getHello(): string {
|
2024-04-04 17:02:42 +02:00
|
|
|
return this.appService.getHello();
|
|
|
|
}
|
|
|
|
}
|