We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 269a2da commit 58f2f19Copy full SHA for 58f2f19
packages/backend/src/app.ts
@@ -48,7 +48,7 @@ app.use(async (ctx, next) => {
48
}
49
})
50
51
-app.use(cors({ credentials: true }))
+app.use(cors({ credentials: true, origin: process.env.CORS_ORIGIN }))
52
53
app.on('error', (err) => {
54
logger.error(err)
0 commit comments