Monorepo for Wisp.place. A static site hosting service built on top of the AT Protocol.

serve is a constructor

Changed files
+4 -6
src
+4 -6
src/index.ts
···
dnsVerifier.start()
logger.info('DNS Verifier Started - checking custom domains every 10 minutes')
-
export const app = new Elysia()
-
.server({
-
development: Bun.env.NODE_ENV !== 'production',
-
})
-
.serve({
-
hmr: Bun.env.NODE_ENV !== 'production'
+
export const app = new Elysia({
+
serve: {
+
maxPayloadLength: 1024 * 1024 * 128 * 3,
+
}
})
// Observability middleware
.onBeforeHandle(observabilityMiddleware('main-app').beforeHandle)