immich/server/src/main.ts
2022-02-05 01:33:08 -06:00

12 lines
362 B
TypeScript

import { NestFactory } from '@nestjs/core';
import { NestExpressApplication } from '@nestjs/platform-express';
import { AppModule } from './app.module';
import ffmpeg from 'fluent-ffmpeg';
async function bootstrap() {
const app = await NestFactory.create<NestExpressApplication>(AppModule);
app.set('trust proxy');
await app.listen(3000);
}
bootstrap();