<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 4 September 2014 23:05, Chris Fortmüller <span dir="ltr"><<a href="mailto:chritsche@gmail.com" target="_blank">chritsche@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, so I have experimented a bit more, and as Steven said, if I host the code on a server, the code works, but if I just access it locally, the code does not work. I still don't quite understand why. If I access the code locally from my machine, and then try to connect to a server on the web, the domain where the code is hosted (my local machine) and the server domain are different, but this is also the case if I host the code on a server and try to connect to a server in another domain, which does work. So I don't quite understand what is the problem then when I access the code locally</div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br></div></div></div></blockquote><div><br></div><div>By "locally", do you mean file://? I reckon the browser folk broke file:// completely for almost anything useful.</div><div><br></div><div>Jack Moffit wrote a thing called Tape years back to handle problems like this - a microserver for development you can run quickly out of any directory. There's Node based stuff for this kind of thing too.</div><div><br></div><div>Dave.</div></div></div></div>