diff --git a/pods/account/src/index.ts b/pods/account/src/index.ts index e9c93c5bac..b9f4bd4561 100644 --- a/pods/account/src/index.ts +++ b/pods/account/src/index.ts @@ -124,7 +124,11 @@ export function serveAccount (methods: Record, productId ctx.body = result }) - app.use(cors()) + app.use( + cors({ + credentials: true + }) + ) app.use(bodyParser()) app.use(router.routes()).use(router.allowedMethods())