我看到的Javascript控制檯上出現以下錯誤:如何在Google App Engine Python服務器上啓用CORS?
VM31:1 XMLHttpRequest cannot load '<some-url>'. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<my-url>' is therefore not allowed access.
如何啓用跨來源資源共享與谷歌的App Engine(Python)的訪問?
是是一個靜態文件,還是你用python代碼處理的東西?傑弗瑞的答案涵蓋了第一種情況... –
Greg