My Node.js application uses the Express.js framework, and I am attempting to execute the following code:
app.use('/public', express.static(path.join(__dirname,'public')));
However, I encountered the following error message:
The CSS file cannot be found on localhost