Skip to content

Commit e17f6b8

Browse files
committed
Merge pull request #3 from cwarden/forcetk-compatibility
Allow X-User-Agent header for forcetk compatibility
2 parents 3bef528 + 74e8635 commit e17f6b8

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,SForce-Auto-Assign,If-Modified-Since');
26+
res.header('Access-Control-Allow-Headers', 'Authorization,Content-Type,Salesforceproxy-Endpoint,X-Authorization,X-SFDC-Session,SOAPAction,SForce-Auto-Assign,If-Modified-Since,X-User-Agent');
2727
res.header('Access-Control-Expose-Headers', 'SForce-Limit-Info');
2828
if (req.method === 'OPTIONS') {
2929
res.end();

0 commit comments

Comments
 (0)