bengarrett/DOSee

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

bengarrett opened this issue · 1 comments

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

Fixed in v1.30