I have this code:
<script src="animation.js" type="text/paperscript" canvas="background"></script>
We all recognize this - its a script tag. Specifically, its supposed to use Paper.js (see docs).
However, when I try to launch the site, I see this error:
Access to XMLHttpRequest at 'file:///animation.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.
Any idea how to fix this?