Hi I am trying to work on a webapp that access both local files and ones over http
. The page itself is loaded locally but that makes ajax calls to a web server.
Is there a way to do this without violating the same-origin policy?
I know there are many many ways to disable the same origin policy but I am looking for a legitimate way because I do not want to have to pass in command line flags every time.
Additionally, on Chrome a rather annoying popup message appears every time those flags are passed in.
Is there a way around this?