Corrected CORS error when working locally in Chrome