One more oauth fix (#4849)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2024-03-01 22:09:35 +06:00 committed by GitHub
parent ec9e63b1a2
commit a6f962469f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -124,7 +124,11 @@ export function serveAccount (methods: Record<string, AccountMethod>, productId
ctx.body = result
})
app.use(cors())
app.use(
cors({
credentials: true
})
)
app.use(bodyParser())
app.use(router.routes()).use(router.allowedMethods())