proxy controller,direkter Zugriff auf neue Bilder #10

This commit is contained in:
2025-01-17 23:27:29 +00:00
parent ab17db9078
commit 21bd5e4abf
16 changed files with 297 additions and 52 deletions

View File

@@ -6,9 +6,12 @@
import { Logger } from '@nestjs/common';
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app/app.module';
import { json, urlencoded } from 'express';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.use(json({ limit: '50mb' }));
app.use(urlencoded({ limit: '50mb', extended: true }));
const globalPrefix = 'api';
app.setGlobalPrefix(globalPrefix);
const port = process.env['PORT'] || 3000;