This one has caught me out a couple of times too - if you have a
./public folder, the
http-server library defaults to serving that rather than
./. Kind of a silly default, in my opinion, but oh well!
You can get around this by explicitly stating the path when you start the server: