Set CORS to be enabled explicitly in backend
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-06-02 10:04:29 +02:00
parent 3917021ba0
commit ab7abab686

View File

@@ -3,6 +3,7 @@ import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.enableCors();
await app.listen(3000);
}
bootstrap();