import { Controller, Get, Render } from '@nestjs/common';
import { AppService } from './app.service';

@Controller()
export class AppController {
    getHello(): any {
        throw new Error('Method not implemented.');
    }
    constructor(private readonly appService: AppService) { }

    @Get()
    @Render('index')
    root() {
        return {
            message: 'Serverless Framework',
        };
    }
}
