mirror of
https://github.com/immich-app/immich.git
synced 2025-07-03 21:40:00 +02:00
remove redirect from previous implementation of web routing
This commit is contained in:
parent
568436f188
commit
7948cb8110
1 changed files with 0 additions and 7 deletions
|
@ -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`);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue