Skip to content

Commit c4844dd

Browse files
committed
update cors
1 parent 512d9b7 commit c4844dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { AppModule } from './app.module';
44
async function bootstrap() {
55
const app = await NestFactory.create(AppModule);
66
app.enableCors({
7-
origin: ['http://localhost:4200','https://www.cve.live/'],
7+
origin: ['http://localhost:4200','https://www.cve.live','https://cve.live'],
88
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
99
allowedHeaders: 'Content-Type, Accept',
1010
})

0 commit comments

Comments
 (0)