···11import {Router} from 'express'
22+import { corsProxy } from './middleware-cors'
33+import { readabilityProxy } from './middleware-reader'
2435export const apiRouter = Router()
4657apiRouter.get('/', (_, res) => {
68 res.send('hi')
79})
1010+1111+// TODO: we should take a signed jwt as a bearer token
1212+// just so we're not an open proxy - maybe that's a config option
1313+1414+apiRouter.get('/cors', corsProxy)
1515+apiRouter.get('/reader', readabilityProxy)