Skip to content

Commit

Permalink
include 'ACAC: true' in proxy response header
Browse files Browse the repository at this point in the history
  • Loading branch information
zburke committed Aug 22, 2024
1 parent 03efbce commit e1ad06c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/run-proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ app.use(
on: {
proxyRes: (proxyRes) => {
proxyRes.headers['Access-Control-Allow-Origin'] = `http://localhost:${PORT}`;
proxyRes.headers['Access-Control-Allow-Credentials'] = 'true';
},
},
}),
Expand Down

0 comments on commit e1ad06c

Please sign in to comment.