bengarrett / DOSee

DOSee is a DOSBox based, MS-DOS emulator for the web.
https://dosee.link
GNU General Public License v3.0
53 stars 24 forks source link

Add: Alert and abort when running as file:/// #1

Closed bengarrett closed 5 years ago

bengarrett commented 5 years ago

Due to the use of XMLHttpRequest() to load assets, the file:/// protocol is not supported.

Add a console error message and end the application when no valid protocols are used.

Access to XMLHttpRequest at 'file:///home/ben/bengarrett/DOSee/dragglex_loader.zip' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https

bengarrett commented 5 years ago

Fixed in v1.30