Open adamchainz opened 10 years ago
I think this is a browser issue, if you're on file:// then it wont let you load resources form the web; as a workaround you could use a webserver:
https://code.google.com/p/mongoose/
(this one is nice and lightweight)
and use http://localhost:8080/myfile.txt
Okay. I did solve it with a local webserver (python -m SimpleHTTPServer
;) ), however there is that second issue - after reading, it redirects to /install.html
every time. Is this debugging code you have left in?
Ahh, I managed to miss that part, somehow (I should have used squirt!)
Actually, made a pull request, realized how lazy I was being just sending in an issue.
Reading some local html files but having small problems.
file://
urls don't work at all (Failed to load resourcefile://www.squirt.io/bm/squirt.js
), and with alocalhost
http server serving them, I get redirected to/install.html
at the end of every session (debug behaviour?). Would be great to have them working :)