When i try to load local images into my web project, i am getting the error
Access to XMLHttpRequest at 'file:///E:/Code%20Stuff/History%20Creative%20Media%20Project/fonts/ARCADECLASSIC.TTF' 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.
im getting a cors error when requesting images that are in the same file path as the index.html file. the weird part is that when using live server on visual studio code, i don't get these cors errors and everything works fine.
also, all of the other js files in my project are loaded fine, using the <script> tag in index.html to load them