We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8cc4de6 + 9a91a07 commit eef34c9Copy full SHA for eef34c9
lib/proxy.js
@@ -43,7 +43,7 @@ module.exports = function(options) {
43
}
44
var sfEndpoint = req.headers["salesforceproxy-endpoint"];
45
if (!SF_ENDPOINT_REGEXP.test(sfEndpoint)) {
46
- res.send(400, "Proxying endpoint is not allowed.");
+ res.send(400, "Proxying endpoint is not allowed. `salesforceproxy-endpoint` header must be a valid Salesforce domain: " + sfEndpoint);
47
return;
48
49
var headers = {};
0 commit comments