feat: add desktop/web app package (#2606)

Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Dax 2025-09-15 03:28:08 -04:00 • committed by GitHub
commit 725104572e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@ import { Log } from "../util/log"
import { Bus } from "../bus"
import { describeRoute, generateSpecs, validator, resolver, openAPIRouteHandler } from "hono-openapi"
import { Hono } from "hono"
import { cors } from "hono/cors"
import { streamSSE } from "hono/streaming"
import { Session } from "../session"
import z from "zod/v4"
@ -114,6 +115,7 @@ export namespace Server {
return next()
})
})
.use(cors())
.get(
"/doc",
openAPIRouteHandler(app, {