Initial commit with Email Import Wizard and Task Processor updates

This commit is contained in:
bjoernpoettker committed 2026-05-04 08:02:11 +02:00
commit effdc5d59f
170 files changed
+67739

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { Logger } from '@nestjs/common';
async function bootstrap(): Promise<void> {
const app = await NestFactory.create(AppModule);
const port = process.env.PORT ?? 3100;
app.enableCors({
origin: '*', // Für lokale Entwicklung zulassen, oder spezifisch: 'http://localhost:8080'
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS',
credentials: true,
});
await app.listen(port);
Logger.log(`Paperless-Middleware läuft auf Port ${port}`, 'Bootstrap');
}
bootstrap();