added troll

This commit is contained in:
Kevsl 2024-06-09 01:16:10 +02:00
parent 36a53c2f2a
commit 2787ec3e3e

View File

@ -1,4 +1,4 @@
import { Controller, Get } from '@nestjs/common'; import { Controller, Get, Redirect } from '@nestjs/common';
import { AppService } from './app.service'; import { AppService } from './app.service';
@Controller() @Controller()
@ -6,7 +6,8 @@ export class AppController {
constructor(private readonly appService: AppService) {} constructor(private readonly appService: AppService) {}
@Get() @Get()
@Redirect('https://paypal.com')
getHello(): string { getHello(): string {
return this.appService.getHello(); return 'Hello';
} }
} }