Monday, March 10, 2014

“Cross origin requests are only supported for HTTP.”

Got a really fun error message today when trying to load a html file with Paper.js using file:///.  Turns out for I needed to actually spin up a server to load the file.  The explanation why can be found here:


Spinning up a server is really easy thanks to the magic of Python:

python -m SimpleHTTPServer


No comments:

Post a Comment