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

Configure Feed

Select the types of activity you want to include in your feed.

at ec363aa3a5af6904a1d4ab58d73d7f20a08d1a19 21 lines 440 B view raw
1import { Elysia } from 'elysia' 2import { staticPlugin } from '@elysiajs/static' 3import { openapi, fromTypes } from '@elysiajs/openapi' 4 5export const app = new Elysia() 6 .use( 7 openapi({ 8 references: fromTypes() 9 }) 10 ) 11 .use( 12 await staticPlugin({ 13 prefix: '/' 14 }) 15 ) 16 .get('/message', { message: 'Hello from server' } as const) 17 .listen(3000) 18 19console.log( 20 `🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}` 21)