We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8c5f03 commit f656b12Copy full SHA for f656b12
app.js
@@ -13,9 +13,10 @@ app.use('/', createProxyMiddleware({
13
},
14
onProxyRes: function (proxyRes, req, res) {
15
proxyRes.headers['Access-Control-Allow-Origin'] = '*';
16
+ proxyRes.headers['Access-Control-Allow-Headers'] = '*';
17
}
18
}));
19
20
app.listen(port, () => {
21
console.log(`Proxy agent started: http://localhost:${port}`)
-})
22
+})
0 commit comments