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
parent 4954edf8ae
commit 725104572e
1133 changed files with 22716 additions and 559 deletions

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, {