Heroku not loading page

Hi, I have problems width Heroku the project works offline but one of the pages is not just one the most.

but all the rest of the pages work as intended

  1. app.js
var indexRouter = require('./routes/index');
var contactRouter = require('./routes/contact');
var aboutRouter = require('./routes/about');
var emailRouter = require('./routes/sendEmail');

var app = express();

// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'ejs');

app.use(express.urlencoded({ extended: false }));
app.use(express.static(path.join(__dirname, 'public')));

app.use('/', indexRouter);
app.use('/contact', contactRouter);
app.use('/about', aboutRouter);
app.use('/send', emailRouter);

contact routes

var express = require('express');
var router = express.Router();

router.get('/', function(req, res, next) {
  res.render('contact', { title: 'Contact Us'});

module.exports = router;

it in ejs as well the contact page is the only one that is not working in Heroku.

I think it is due to this line app.set('views', path.join(__dirname, 'views'));, it should be so app.set('views', path.join( __dirname, '/views'));