Skip to content

Commit 16cd2f6

Browse files
Merge pull request #2209 from OneCommunityGlobal/sundar/corsIssue
Sundar: 🔥 fix cors issue due to header policies
2 parents 6438995 + 6af5c64 commit 16cd2f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/startup/cors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function (app) {
2525
},
2626
credentials: true,
2727
methods: ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'OPTIONS'],
28-
allowedHeaders: ['Content-Type', 'Authorization'],
28+
allowedHeaders: ['Content-Type', 'Authorization', 'Cache-Control', 'Pragma'],
2929
}),
3030
);
3131
};

0 commit comments

Comments
 (0)