From 2787ec3e3eaed9680b9f0cb6e92f20a625962f7b Mon Sep 17 00:00:00 2001 From: Kevsl Date: Sun, 9 Jun 2024 01:16:10 +0200 Subject: [PATCH] added troll --- src/app.controller.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app.controller.ts b/src/app.controller.ts index cce879e..77e41b1 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -1,4 +1,4 @@ -import { Controller, Get } from '@nestjs/common'; +import { Controller, Get, Redirect } from '@nestjs/common'; import { AppService } from './app.service'; @Controller() @@ -6,7 +6,8 @@ export class AppController { constructor(private readonly appService: AppService) {} @Get() + @Redirect('https://paypal.com') getHello(): string { - return this.appService.getHello(); + return 'Hello'; } }