Skip to content

Commit 6af5c64

Browse files
Sundar MachaniSundar Machani
authored andcommitted
chore: fix cors issue due to header policies
1 parent 6438995 commit 6af5c64

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)