I have a lightweight html file with a jquery snippet to open a new browser tab with a local/NFS directory or folder path.
This works when I open the html file directly in my browser (edge/chrome)
But when I use a webserver like ‘serve’ (https://www.npmjs.com/package/serve) to host the html page on localhost, the jquery snippet fails and gives me an error – failed to load local resource.
Is there an underlying cross-origin issue due to which this happens?