Skip to content

Commit 94840fd

Browse files
author
0x4d
committed
Revert to not setting origin option
1 parent 761ab98 commit 94840fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ app.use(async (ctx, next) => {
4848
}
4949
})
5050

51-
app.use(cors({ credentials: true, origin: process.env.CORS_ORIGIN }))
51+
app.use(cors({ credentials: true }))
5252

5353
app.on('error', (err) => {
5454
logger.error(err)

0 commit comments

Comments
 (0)