text: const path = require("path");
  
  module.exports = function(app) {
      // Basic route that sends the user first to the Page
      app.get("/", function(req, res) {
          res.sendFile(path.join(__dirname, "../public/index.html"));
      });
  
      app.get("/notes", function(req, res) {
          res.sendFile(path.join(__dirname, "../public/notes.html"));
      });
  
      // If no matching route is found default to home
      app.get("/*", function(req, res) {
          res.sendFile(path.join(__dirname, "../public/index.html"));
      });
  
  }