Skip to content

High performance self-hosted photo and video management solution.

remove redirect from previous implementation of web routing

Alex Tran7948cb8110cf
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`);
- }
}