Sometimes, you can't simply open your index.html in Chrome to test your website. You need the features of a real web server like NGINX.
A common case where directly loading index.html falls short is trying to serve local files using the Fetch API. You run into