Reason: Multiple CORS header 'Access-Control-Allow-Origin' not allowed

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译
您也可以阅读此文章的English (US)版。

Reason

Reason: Multiple CORS header ‘Access-Control-Allow-Origin’ not allowed

What went wrong?

More than one Access-Control-Allow-Origin header was sent by the server. This isn't allowed.

If you have access to the server you can change your implementation to echo back an origin in the Access-Control-Allow-Origin header. You cannot send back a list of origins, because browsers only accept a value that is either a single origin or null

See also

文档标签和贡献者

此页面的贡献者: sideshowbarker, ChristopherHackett, SteveReiter, Sheppy
最后编辑者: sideshowbarker,