Skip to content

Commit

Permalink
MAT-6729: Adding Cors attribute to allow the service to be called fro…
Browse files Browse the repository at this point in the history
…m our front end
  • Loading branch information
gregory-akins committed Apr 11, 2024
1 parent 75a3011 commit 741ad03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { NestFactory } from '@nestjs/core';
import { ExportModule } from './export.module';

export async function bootstrap() {
const app = await NestFactory.create(ExportModule);
const app = await NestFactory.create(ExportModule, { cors: true });
await app.listen(3000);
}
bootstrap();

0 comments on commit 741ad03

Please sign in to comment.