CombustibleToast / StratagemHeroOnline

38 stars 24 forks source link

HD2 Loading JSON Triggers CORS Rejection #8

Closed CombustibleToast closed 7 months ago

CombustibleToast commented 7 months ago

I'm getting a CORS policy rejection on the XMLHttpRequest. @rrliu Is that not happening on your end?

CombustibleToast commented 7 months ago

Resolved by installing the Live Server VSCode extension as outlined in this article: https://medium.com/@akshaykrdas001/how-to-fetch-data-from-local-json-file-and-render-it-to-html-document-with-using-vanilla-javascript-a0191a894f25