about summary refs log tree commit diff
path: root/bskyogcard/src/routes/index.ts
blob: 0c40f89d3bbc277dfaca8f194da550a6a463dc2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import {Express} from 'express'

import {AppContext} from '../context.js'
import {default as health} from './health.js'
import {default as starterPack} from './starter-pack.js'

export * from './util.js'

export default function (ctx: AppContext, app: Express) {
  app = health(ctx, app) // GET /_health
  app = starterPack(ctx, app) // GET /start/:actor/:rkey
  return app
}