javascript - Using ajax on webpage loaded from disk in WPF WebBrowser - CORS blocked -


i using ajax via xmlhttprequest on webpage loaded disk in wpf webbrowser. xmlhttprequest.onerror handler called every time , url correct guess request blocked disabled cors - cross origin resource sharing. have idea serving local page means of php , set header access-control-allow-origin. can problem solved way, please?


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -