Hi,
Great question! This is actually a point of confusion for many beginners. The file is provided by the socket.io package. When you require()
it on the server and hook it into the express web server, it gets automatically served to the client at that URL. If you want to find the actual file that gets served, look in /node_modules/socket.io
.
Let me know if you have any more questions!