title: Error getting html when I deployed my app in heroku
body: <p>This is my index.js file in express node.js, the app worked perfectly until I deployed it on Heroku, in production It throws me that error like if the server doesn't find my index.html.</p>
  
  <p>*-src
   ---index.html
   ---index.js
  <a href="https://i.stack.imgur.com/wcDUl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wcDUl.png" alt="enter image description here"></a>
   *</p>
  
  <pre><code>app.use(express.urlencoded({ extended: true }))
  
  function renderHTML(path, response) {
      fs.readFile(path, null, function(error, data) {
          if (error) {
              response.writeHead(404);
              response.write('File not found!');
          } else {
              response.write(data);
          }
          response.end();
      });
  }
  
  app.get('/', function (req, res) {
    renderHTML('./index.html', res);
  });
  </code></pre>