From f2e30593948c2a50308d063d85468fffa6ed10ad Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Mon, 28 Mar 2022 19:46:39 +0200 Subject: [PATCH] header fix --- src/server/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/index.js b/src/server/index.js index 913a957..0d6d0c7 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -18,7 +18,7 @@ app.use("/api", api); api.use(function(req, res, next) { res.header("Access-Control-Allow-Origin", "*"); - res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept"); + // res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept"); next(); }); api.use(require('express-log-url'));