-
Notifications
You must be signed in to change notification settings - Fork 1
CORS proxy
Web sites can't load resources from other domains because of browser security restrictions. The solution is to have the server download the file and pass it to the interpreter from its own domain, or from a location that specifically allows cross-domain requests.
There's a CORS proxy script for PHP included with the project (click "Raw" and save page). The script is PHP CORS Proxy by Iacovos Constantinou. It's been modified to accept only .hex files.
To install the proxy, download it and place it in the same directory as the interpreter. In the options object set use_proxy
to "auto" or "always". If you put the proxy script to some other location or use another script or service, change the proxy_url
option to point to the correct URL or directory.