"use strict";
var path = require("path");
module.exports = function (robot) {
    var app = robot.route();
    app.get('/probot', function (req, res) {
        var pkg;
        try {
            pkg = require(path.join(process.cwd(), 'package.json'));
        }
        catch (e) {
            pkg = {};
        }
        res.render('probot.hbs', pkg);
    });
    app.get('/', function (req, res, next) { return res.redirect('/probot'); });
};
//# sourceMappingURL=default.js.map