Sending whole folder content to client with express
You will not be able to send multiple file like that with res.sendFile. The most straightforward thing that you can do here would be this: Put your index.html file and your html5game directory into some common directory, e.g. called html and put it where you have your Node.js program. An example directory layout would be: … Read more