diff --git a/backend/src/main.ts b/backend/src/main.ts index b875596..e03661f 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -2,6 +2,8 @@ import { NestFactory } from '@nestjs/core'; import { AppModule } from './app.module'; const corsOptions = { origin: 'https://blog.anatid.net', + methods: 'GET,POST,PATCH,DELETE,OPTIONS', + optionsSuccessStatus: 200 }; async function bootstrap() {