Reason: CORS header ‘Origin’ cannot be added

由於本文件沒有此語言的翻譯版本,您閱讀的是英文版的內容。 幫助我們翻譯這篇文章!

Reason

Reason: CORS header ‘Origin’ cannot be added

What went wrong?

The user agent was unable to add the required Origin header to the HTTP request. All CORS requests must have an Origin header.

This can happen if the JavaScript code is running with enhanced privileges allowing it access to multiple domains' content, for example.

See also