mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 17:18:23 +00:00
Configures the Access-Control-Allow-Credentials CORS header (#5221)
This commit is contained in:
parent
10fbce4667
commit
210e5782a4
1 changed files with 3 additions and 1 deletions
|
|
@ -59,7 +59,9 @@ async function main() {
|
|||
});
|
||||
}
|
||||
|
||||
await server.register(cors, {});
|
||||
await server.register(cors, {
|
||||
credentials: true,
|
||||
});
|
||||
|
||||
server.get('/api/health', (_req, res) => {
|
||||
return res.status(200).send('OK');
|
||||
|
|
|
|||
Loading…
Reference in a new issue