text: "use strict";
  var __importDefault = (this && this.__importDefault) || function (mod) {
      return (mod && mod.__esModule) ? mod : { "default": mod };
  };
  const path_1 = __importDefault(require("path"));
  module.exports = (app) => {
      const route = app.route();
      route.get("/probot", (req, res) => {
          let pkg;
          try {
              pkg = require(path_1.default.join(process.cwd(), "package.json"));
          }
          catch (e) {
              pkg = {};
          }
          res.render("probot.hbs", pkg);
      });
      route.get("/", (req, res, next) => res.redirect("/probot"));
  };
  //# sourceMappingURL=default.js.map