mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-01 23:02:26 +00:00
sync
This commit is contained in:
@@ -21,6 +21,13 @@ export namespace Server {
|
||||
const app = new Hono()
|
||||
|
||||
const result = app
|
||||
.use((c, next) => {
|
||||
log.info("request", {
|
||||
method: c.req.method,
|
||||
path: c.req.path,
|
||||
})
|
||||
return next()
|
||||
})
|
||||
.get(
|
||||
"/openapi",
|
||||
openAPISpecs(app, {
|
||||
|
||||
Reference in New Issue
Block a user