text: const express = require('express');
  const app = express();
  /*const port = 3031;*/
  const path = require('path');
  const publicPath = path.resolve(__dirname,'./public');
  app.use(express.static(publicPath));
  /*app.listen(port,() => console.log('Servidor corriendo http://localhost:3031/'));*/
  
  app.get('/', (req, res) => {
      res.sendFile(path.join(__dirname, '/views/home.html'))
  });
  
  app.get('/register', (req, res) => {
      res.sendFile(path.join(__dirname, '/views/register.html'))
  });
  
  app.get('/login', (req, res) => {
      res.sendFile(path.join(__dirname, '/views/login.html'))
  }); 
  
  app.listen(process.env.PORT || 3000, function(){
      console.log('Servidor corriendo en puerto 3000')
  });