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

serve is a constructor

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