Skip to content

Commit

Permalink
Update Allow-Headers
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqlcom authored Oct 6, 2024
1 parent f656b12 commit 81dde4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ app.use('/', createProxyMiddleware({
},
onProxyRes: function (proxyRes, req, res) {
proxyRes.headers['Access-Control-Allow-Origin'] = '*';
proxyRes.headers['Access-Control-Allow-Headers'] = '*';
proxyRes.headers['Access-Control-Allow-Headers'] = 'Origin, X-Requested-With, Content-Type, Accept, Authorization';
}
}));

Expand Down

0 comments on commit 81dde4c

Please sign in to comment.