So when I try to send a static page with 1 '/' in the path, for example:
app.get('/', (req, res) => {
res.render('home.ejs')
})
It works perfectly fine and renders all the necesery css that is linked to the HTML page via the <link> attribute:
<link rel="stylesheet" href="style.css">
The HTML and CSS files are in the same directory and the server.js file is in the previous directory:

The server file is linked to the views directory via the:
app.use(express.static(__dirname + '/views'));
app.set('views', path.join(__dirname, 'views'));
But when I add another '/' in the path the css just won't render:
app.get('/projects/mcpaint', (req, res) => {
res.render('mcpaint.ejs')
})
I've tried including the css in the html using the <style> tag and in that case the css is actually rendered.
Does anybody know how to fix that? Thanks, any help is appreciated!
GET http://localhost:3000/projects/style.css net::ERR_ABORTED 404 (Not Found)