diff --git a/.gitea/workflows/workflow.yaml b/.gitea/workflows/workflow.yaml index eaf0138..07c5c66 100644 --- a/.gitea/workflows/workflow.yaml +++ b/.gitea/workflows/workflow.yaml @@ -91,3 +91,5 @@ jobs: run: docker compose pull music-collection-frontend music-collection-backend - name: Start containers run: docker compose up -d music-collection-frontend music-collection-backend + - name: Prune + run: docker system prune -af diff --git a/backend/src/main.ts b/backend/src/main.ts index 48f4521..b7ed1eb 100644 --- a/backend/src/main.ts +++ b/backend/src/main.ts @@ -4,7 +4,7 @@ import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule); app.enableCors({ - origin: ['https://music.anatid.net'], + origin: ['https://music.anatid.net','http://localhost:3000/'], methods: 'GET,HEAD,PUT,PATCH,POST,DELETE', credentials: true, allowedHeaders: 'X-Requested-With, X-HTTP-Method-Override, Content-Type, Accept, Observe',