We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3618d3a commit 03452fcCopy full SHA for 03452fc
apps/api/src/main.ts
@@ -4,7 +4,9 @@ import { AppModule } from '~/app'
4
import { EnvService } from '~/config/env'
5
6
async function bootstrap() {
7
- const app = await NestFactory.create(AppModule)
+ const app = await NestFactory.create(AppModule, {
8
+ cors: true,
9
+ })
10
11
const envService = app.get(EnvService)
12
0 commit comments