Skip to content

Commit

Permalink
fix(server): allow all origins
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud authored Oct 24, 2024
1 parent 21de9ef commit 6c740ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TrpcRouter } from 'server/trpc/trpc.router'
async function bootstrap() {
const app = await NestFactory.create(AppModule)
app.enableCors({
origin: serverConfig.clientUrl,
origin: '*',
credentials: true,
})
app.use(cookieParser())
Expand Down

0 comments on commit 6c740ad

Please sign in to comment.