ionic3: ปัญหา No ‘Access-Control-Allow-Origin’

ionic Failed to load No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access

ทางแก้เบื้องต้นคือติดตั้ง plug-in Allow-Control-Allow-Origin: * ให้ chrome เพื่อ Enable cross-origin resource sharing

แต่ถ้าจะแก้ให้หายขาด ให้แก้ที่ฝั่ง Server

Link