Enable CORS

This commit is contained in:
Anthony Mineo 2020-08-29 19:35:28 -04:00
parent 86c531d61e
commit f240ccd306

View file

@ -8,7 +8,6 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule); const app = await NestFactory.create(AppModule);
app.enableCors({ app.enableCors({
origin: [ /\.localhost$/, /\.playt2\.com$/ ],
credentials: true credentials: true
}); });