import { Middleware } from 'koa'; export function notFoundMiddleware(): Middleware { const noFoundTemplate = `