From 7948cb8110cfacc103b6aa2bc576d6ccab4ffceb Mon Sep 17 00:00:00 2001
From: Alex Tran <alex.tran1502@gmail.com>
Date: Fri, 24 Jun 2022 06:33:11 -0500
Subject: [PATCH] remove redirect from previous implementation of web routing

---
 server/apps/immich/src/app.controller.ts | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/server/apps/immich/src/app.controller.ts b/server/apps/immich/src/app.controller.ts
index f104e3c77b..76402ba233 100644
--- a/server/apps/immich/src/app.controller.ts
+++ b/server/apps/immich/src/app.controller.ts
@@ -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`);
-  }
 }