feat: marketplace modules and isolated container management

This commit is contained in:
ayde64
2026-10-07 23:18:02 +02:00
parent 564f7def1c
commit 7b121fa908
68 changed files with 2560 additions and 699 deletions

View File

@@ -4,6 +4,7 @@ import { NestExpressApplication } from '@nestjs/platform-express';
import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
import cookieParser from 'cookie-parser';
import helmet from 'helmet';
import type { NextFunction, Request, Response } from 'express';
import { AppModule } from './app.module';
import { AllExceptionsFilter } from './common/filters/all-exceptions.filter';
import { loadConfiguration } from './config/config.tokens';
@@ -26,6 +27,10 @@ async function bootstrap(): Promise<void> {
app.use(helmet());
app.use(cookieParser());
app.use('/api', (_request: Request, response: Response, next: NextFunction) => {
response.setHeader('Cache-Control', 'no-store');
next();
});
if (config.security.behindProxy) {
app.set('trust proxy', 1);
@@ -46,4 +51,4 @@ async function bootstrap(): Promise<void> {
logger.log(`Management-Backend läuft auf Port ${config.port}`);
}
void bootstrap();
void bootstrap();