Skip to content

Commit 933e5fa

Browse files
committed
allow carId in headers for cors policy on deployment
1 parent c4cf1eb commit 933e5fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/backend/src/utils/auth.utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export const prodHeaders = [
2424
'XMLHttpRequest',
2525
'X-Auth-Token',
2626
'Client-Security-Token',
27-
'organizationId'
27+
'organizationId',
28+
'carId'
2829
];
2930

3031
// middleware function for production that will enforce jwt authorization

0 commit comments

Comments
 (0)