From b29036d4e5d439740715b58003bc235e86d65c4c Mon Sep 17 00:00:00 2001 From: Christoph Date: Mon, 4 Nov 2019 15:38:23 +0100 Subject: [PATCH] Add Fiware-Service header to allowed Access Control Header Fixes #93 --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 950fcb6..42013f6 100644 --- a/server.js +++ b/server.js @@ -46,7 +46,7 @@ app.use(function(req, res, next) { ); res.header( 'Access-Control-Allow-Headers', - 'origin, content-type, X-Auth-Token, Tenant-ID, Authorization' + 'origin, content-type, X-Auth-Token, Tenant-ID, Authorization, Fiware-Service' ); //log.debug("New Request: ", req.method); if (req.method === 'OPTIONS') {