📘 chore: chore

This commit is contained in:
saltyaom
2023-08-17 15:35:48 +07:00
parent 642375d00a
commit ed03160677
5 changed files with 16 additions and 10 deletions

View File

@@ -2,7 +2,9 @@ import { Elysia } from 'elysia'
import { swagger } from '../src/index'
import { plugin } from './plugin'
const app = new Elysia()
const app = new Elysia({
aot: false
})
.use(
swagger({
documentation: {
@@ -21,3 +23,5 @@ const app = new Elysia()
)
.use(plugin)
.listen(8080)
console.log(app.routes)