0
我得到間歇性我的環回API服務器上的CORS錯誤存在於Google App Engine上。隨機獲取CORS錯誤
我想確定錯誤在哪裏,但到目前爲止我很不走運。
有沒有人遇到過這個?
對於客戶端,我採用了棱角分明2.
錯誤:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '(MY-SITE-URL)' is therefore not allowed access. The response had HTTP status code 502.
如果您收到502錯誤,那麼服務器可能沒有設置您的頭文件,因爲它已經崩潰。你需要找出造成502的原因。 – Octopus