This commit is contained in:
parent
2d8a1f9997
commit
b096208dd5
@ -7,7 +7,7 @@ import { AppModule } from "./app.module";
|
|||||||
async function bootstrap() {
|
async function bootstrap() {
|
||||||
const app = await NestFactory.create(AppModule);
|
const app = await NestFactory.create(AppModule);
|
||||||
|
|
||||||
const corsOrigins = ["http://localhost:3000", "https://altricade.github.io"];
|
const corsOrigins = ["http://localhost:3000", "https://altricade.github.io", "https://altricade.is-a.dev"];
|
||||||
|
|
||||||
app.enableCors({
|
app.enableCors({
|
||||||
origin: corsOrigins,
|
origin: corsOrigins,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user