Skip to content

Commit a35e976

Browse files
committed
fix(elysia): bulk update cast to number
1 parent 8335531 commit a35e976

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

frameworks/TypeScript/elysia/src/server.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Elysia } from "elysia";
22
import { dbHandlers } from "./db-handlers";
33

4-
const app = new Elysia({ precompile: true })
4+
const app = new Elysia()
55
.headers({
66
server: "Elysia",
77
})
@@ -17,6 +17,4 @@ const app = new Elysia({ precompile: true })
1717
})
1818
.listen(8080);
1919

20-
console.log(app.routes[5].composed.toString())
21-
2220
console.info(`🦊 Elysia is running at ${app.server!.url}`);

0 commit comments

Comments
 (0)