mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2025-07-09 06:00:12 +02:00
14 lines
299 B
TypeScript
14 lines
299 B
TypeScript
import { Controller, Get, Redirect } from '@nestjs/common';
|
|
import { AppService } from './app.service';
|
|
|
|
@Controller()
|
|
export class AppController {
|
|
constructor(private readonly appService: AppService) {}
|
|
|
|
@Get()
|
|
@Redirect('https://paypal.com')
|
|
getHello(): string {
|
|
return 'Hello';
|
|
}
|
|
}
|