Joshua-Usi / osw

an osu! clone designed to run on browsers, allowing you to play osu on any device with a modern browser
https://joshua-usi.github.io/osw
MIT License
34 stars 5 forks source link

Console Bug 2 #17

Closed DaRealGitHubDoriitos closed 2 years ago

DaRealGitHubDoriitos commented 2 years ago

Access to script at 'file:///media/archive/osw.zip/osw/osw.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.

DaRealGitHubDoriitos commented 2 years ago

image

Joshua-Usi commented 2 years ago

CORS, is a natural part of chrome and unfortunately cannot be disabled. Did you download the project? It cannot be run on local files, you must run it online or using a webserver. A webserver I could reccommend is https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphhbklhfoeikjpcbhemlocgigb?hl=en. It will then allow you to run the program

DaRealGitHubDoriitos commented 2 years ago

yes i did run it locally which i figured may have been why