I was reading this Node.js In Action and there's this index.html which references socket.io.js from node_modules folder (I believe).
How does the following script tag resolves the path to the socket.io.js when the node_modules folder is one directory up from where the index.html resides?
The script tag:
<script src="/socket.io/socket.io.js" type="text/javascript"></script>