Browse Source

remove redirect from previous implementation of web routing

Alex Tran 3 years ago
parent
commit
7948cb8110
1 changed files with 0 additions and 7 deletions
  1. 0 7
      server/apps/immich/src/app.controller.ts

+ 0 - 7
server/apps/immich/src/app.controller.ts

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