More CORS
All checks were successful
Anatid Blog CI Workflow / test (./backend) (push) Successful in 28s
Anatid Blog CI Workflow / test (./frontend) (push) Successful in 29s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 50s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 43s
Anatid Blog CI Workflow / deploy (push) Successful in 22s

This commit is contained in:
Phill Pover 2025-03-28 10:42:50 +00:00
parent a9ebfbba11
commit acfe51c112

View File

@ -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() {