mirror of
https://github.com/immich-app/immich.git
synced 2026-01-07 02:23:54 -08:00
12 lines
326 B
TypeScript
12 lines
326 B
TypeScript
import { NestFactory } from '@nestjs/core';
|
|
import { NestExpressApplication } from '@nestjs/platform-express';
|
|
import { AppModule } from './app.module';
|
|
|
|
async function bootstrap() {
|
|
const app = await NestFactory.create<NestExpressApplication>(AppModule);
|
|
|
|
app.set('trust proxy');
|
|
await app.listen(3000);
|
|
}
|
|
bootstrap();
|