Skip to content

Commit

Permalink
added cors
Browse files Browse the repository at this point in the history
  • Loading branch information
richard483 committed Dec 2, 2023
1 parent cea924b commit 9f62a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ declare const module: any;

async function bootstrap() {
const app = await NestFactory.create(AppModule, {
cors: false,
cors: true,
});

const version = process.env.npm_package_version;
Expand Down

0 comments on commit 9f62a88

Please sign in to comment.