[link] stub

This commit is contained in:
Devin Zuczek
2026-08-20 18:52:14 -04:00
parent 3e59ebeaa8
commit 062c07cc33
10 changed files with 14804 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import { Hono } from 'hono'
import { useWorkersLogger } from 'workers-tagged-logger'
import { withNotFound, withOnError } from '@repo/hono-helpers'
import type { App } from './context'
const app = new Hono<App>()
.use(
'*',
// middleware
(c, next) =>
useWorkersLogger(c.env.NAME, {
environment: c.env.ENVIRONMENT,
release: c.env.SENTRY_RELEASE,
})(c, next)
)
.onError(withOnError())
.notFound(withNotFound())
.get('/', async (c) => {
return c.text('hello, world!')
})
export default app