Anpassungen zum Thema IP Resolving

This commit is contained in:
2024-09-12 16:01:41 +02:00
parent 68d2615f0f
commit 77c9973256
3 changed files with 14 additions and 7 deletions

View File

@@ -4,7 +4,8 @@ import express from 'express';
import { AppModule } from './app.module';
async function bootstrap() {
express();
const server = express();
server.set('trust proxy', true);
const app = await NestFactory.create(AppModule);
app.use('/bizmatch/payment/webhook', bodyParser.raw({ type: 'application/json' }));
app.setGlobalPrefix('bizmatch');