Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAT-6729: Adding Cors attribute to allow the service to be called fro… #9

Merged
merged 6 commits into from
Apr 11, 2024
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 });
RohitKandimalla marked this conversation as resolved.
Show resolved Hide resolved
await app.listen(3000);
}
bootstrap();
Loading