Skip to content

Commit c9d4d2c

Browse files
committed
Add Sforce-Query-Options in Access-Control-Allow-Headers
1 parent 94c9b90 commit c9d4d2c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this project, [JSforce AJAX Proxy](https://github.com/jsforce/jsforce-ajax-pr
44

55
There is the follwoing change from JSforce AJAX Proxy. Therefore, I do not use JSforce AJAX Proxy directly.
66

7-
* Added `Sforce-Call-Options` in `Access-Control-Allow-Headers`
7+
* Added `Sforce-Call-Options` and `Sforce-Query-Options` in `Access-Control-Allow-Headers`
88

99
## Usage
1010

functions/proxy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const ALLOWED_HEADERS = [
1414
'SForce-Auto-Assign',
1515
'If-Modified-Since',
1616
'X-User-Agent',
17-
'Sforce-Call-Options'
17+
'Sforce-Call-Options',
18+
'Sforce-Query-Options'
1819
];
1920

2021
/**

0 commit comments

Comments
 (0)