So kombinieren Sie den Ordner zum Rendern in Express JS

const staticPath = path.join(__dirname, '../public');  // 2nd parameter is folder path u want to combine

app.use(express.static(staticPath));
Shy Swiftlet