How to go up using __dirname in the folder hierarchy July 29, 2023 by Tarik if you’re in server.js then you mean app.use(express.static( __dirname + '/../app'));