My goal is to transfer the dist folder from the server to the client.
When I use the following command, it works perfectly:
app.use('/', express.static( Path.join(__dirname, '..', 'node_modules', 'del-js-webapp', 'dist') ));
However, I want to access the dist folder using the path /game, so I modified the command like this:
app.use('/game', express.static( Path.join(__dirname, '..', 'node_modules', 'del-js-webapp', 'dist') ));
Unfortunately, this modification does not work. Can someone assist me with this?