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