We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5da8a6e + ac1ea5f commit 9c52099Copy full SHA for 9c52099
server/main.js
@@ -29,7 +29,7 @@ async function main() {
29
// allow origin https://localhost
30
app.use((_req, res, next) => {
31
res.header('Access-Control-Allow-Origin', 'https://localhost');
32
- res.header('Access-Control-Allow-Headers', 'Content-Type');
+ res.header('Access-Control-Allow-Headers', 'Content-Type, x-auth-token');
33
next();
34
});
35
0 commit comments