From 86487da7059e57d878ac824b351f28a33df2f8b7 Mon Sep 17 00:00:00 2001 From: Phill Pover Date: Fri, 28 Mar 2025 09:17:26 +0000 Subject: [PATCH] Configuring CORS --- backend/src/main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/main.ts b/backend/src/main.ts index e139c49..db8e898 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -1,5 +1,8 @@ import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; +const corsOptions = { + origin: 'https://blog.anatid.net', +}; async function bootstrap() { const app = await NestFactory.create(AppModule);