I'm trying my hand at web dev after a few years of pause and CORS seems to have gone off the deep end.
why does
<script type="module" src="./index.js"></script>
result in a CORS error? I'm loading a local file (file://) that wants to load another local file. I don't get why CORS even complains, they're both from the same origin, after all.