You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/apps/github-app/api/index.js

12 lines
272 B
JavaScript

const app = require('express')();
const { v4 } = require('uuid');
const { createProbot } = require('probot');
const { appFn, buildRouter } = require('../src/app');
const probot = createProbot();
probot.load(appFn, {
getRouter: (path) => app,
});
module.exports = app;