Scratch space for learning atproto app development

tidy

Changed files
+6 -2
src
+6 -2
src/routes.ts
···
import express, { Request, Response } from 'express'
import { getIronSession } from 'iron-session'
import assert from 'node:assert'
-
import type { IncomingMessage, ServerResponse } from 'node:http'
+
import type {
+
IncomingMessage,
+
RequestListener,
+
ServerResponse,
+
} from 'node:http'
import path from 'node:path'
import type { AppContext } from '#/context'
···
}
}
-
export const createRouter = (ctx: AppContext) => {
+
export function createRouter(ctx: AppContext): RequestListener {
const app = express()
// Static assets