app.use('/public', express.static(path.join(__dirname, '../public')))
// use path here
app.use('/', express.static('public'));
//please read the expressjs docs
// https://expressjs.com/en/starter/static-files.html