text: // DEPENDENCIES
  // We need to include the path package to get the correct file path for our html
  const router = require("express").Router();
  const path = require('path');
  
  // ROUTING
  
  router.get('/stats', (req, res) => {
  res.sendFile(path.join(__dirname, '../public/stats.html'));
  });
  
  router.get('/exercise', (req, res) => {
  res.sendFile(path.join(__dirname, '../public/exercise.html'));
  });
  
  // If no matching route is found default to home
  router.get('*', (req, res) => {
  res.sendFile(path.join(__dirname, '../public/index.html'));
  });
  
  
  module.exports = router;