mirror of
https://github.com/amineo/t2-stat-parser.git
synced 2026-01-20 01:34:47 +00:00
Enable CORS
This commit is contained in:
parent
86c531d61e
commit
f240ccd306
|
|
@ -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
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue