We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e172fe6 commit 2a89bdfCopy full SHA for 2a89bdf
src/main.ts
@@ -3,6 +3,7 @@ import { AppModule } from './app.module';
3
4
async function bootstrap() {
5
const app = await NestFactory.create(AppModule);
6
+ app.enableCors();
7
await app.listen(3000);
8
}
9
bootstrap();
0 commit comments