mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2026-02-04 01:56:14 +01:00
added troll
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user