用nginx處理最簡單的方法就是在location裡補上 add_header 'Access-Control-Allow-Origin' *;. 這樣一來所有網站都能自由的使用這個資源.
確定! 回上一頁