Skip to content

Commit 5bcd6f3

Browse files
committed
add SForce-Auto-Assign allowing request headers in CORS
1 parent d6e91fa commit 5bcd6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var proxyCounter = 0;
2323
app.all('/proxy/?*', function(req, res) {
2424
res.header('Access-Control-Allow-Origin', '*');
2525
res.header('Access-Control-Allow-Methods', 'GET,POST,PATCH,PUT,DELETE');
26-
res.header('Access-Control-Allow-Headers', 'Authorization,Content-Type,Salesforceproxy-Endpoint,X-Authorization,X-SFDC-Session,SOAPAction');
26+
res.header('Access-Control-Allow-Headers', 'Authorization,Content-Type,Salesforceproxy-Endpoint,X-Authorization,X-SFDC-Session,SOAPAction,SForce-Auto-Assign');
2727
if (req.method === 'OPTIONS') {
2828
res.end();
2929
return;

0 commit comments

Comments
 (0)