"CORS": {
"origin":["https://webclient.xxx.com"],
"loginOrigin":["https://webclient.xxx.com"],
"headers":["DNT","X-CustomHeader","Keep-Alive","User-Agent","X-Requested-With","If-Modified-Since","Cache-Control","Content-Type","Authorization"],
"maxAge": 1728000
}
My web server (https://webclient.xxx.com) is Nginx.
I am getting the following error:
XMLHttpRequest cannot load https://db.xxx.com/xxxdb/-9t43hswLaiNa3qymE7MU9U. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://webclient.xxx.com' is therefore not allowed access.
Am I missing something?
Sync Gateway is built from master.
Todd
On Oct 21, 2015, at 10:06 AM, Todd Freese <to...@filmworkers.com> wrote:
I'll add that I see the OPTIONs request in the SG log. Is there a way to see this response? The Chrome debugger shows the request, but not the response.