mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
One more oauth fix (#4849)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
ec9e63b1a2
commit
a6f962469f
@ -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())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user