remove redirect from previous implementation of web routing

pull/263/head
Alex Tran 2022-06-24 06:33:11 +07:00
parent 568436f188
commit 7948cb8110
No known key found for this signature in database
GPG Key ID: E4954BC787B85C8A
1 changed files with 0 additions and 7 deletions

@ -3,11 +3,4 @@ import { Response } from 'express';
@Controller()
export class AppController {
constructor() {}
@Get()
async redirectToWebpage(@Res({ passthrough: true }) res: Response, @Headers() headers) {
const host = headers.host;
return res.redirect(`http://${host}:2285`);
}
}