web-service/apps/game/src/game.controller.ts

13 lines
280 B
TypeScript

import { Controller, Get } from '@nestjs/common';
import { GameService } from './game.service';
@Controller()
export class GameController {
constructor(private readonly gameService: GameService) {}
@Get()
getHello(): string {
return this.gameService.getHello();
}
}