diff --git a/api/src/main.ts b/api/src/main.ts index cc16cb7..fed4801 100644 --- a/api/src/main.ts +++ b/api/src/main.ts @@ -9,12 +9,7 @@ async function bootstrap() { const httpService = new HttpService(); const app = await NestFactory.create(AppModule); - app.enableCors({ - origin: 'https://flying-test.salmonpond-4268003a.centralus.azurecontainerapps.io', // Or use a regex/array for dynamic origins - methods: 'GET,HEAD,PUT,PATCH,POST,DELETE', - credentials: true, - allowedHeaders: 'Content-Type,Authorization', - }); + app.enableCors(); app.setGlobalPrefix('api'); app.useGlobalFilters(new HttpExceptionFilter()); app.use( diff --git a/client/README.md b/client/README.md index af8ffdc..e69de29 100644 --- a/client/README.md +++ b/client/README.md @@ -1 +0,0 @@ -BLAH BLAH BLAH BLAH BLAH \ No newline at end of file