Initial commit with Email Import Wizard and Task Processor updates
This commit is contained in:
commit
effdc5d59f
170 files changed
+67739
No files matched your search
@@ -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();
|
||||
Reference in new issue
Block a user