Skip to content

Commit 7b73fd7

Browse files
committed
fix: public API ordering
1 parent cbb8b03 commit 7b73fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ const app = new Elysia()
4545
activeContext: null as ReturnType<typeof context.active> | null | undefined,
4646
startTime: 0,
4747
})
48-
.use(publicApi)
4948
.use(
5049
cors({
5150
credentials: true,
@@ -57,6 +56,7 @@ const app = new Elysia()
5756
],
5857
})
5958
)
59+
.use(publicApi)
6060
.use(health)
6161
.onBeforeHandle(function startTrace({ request, path, store }) {
6262
const method = request.method;

0 commit comments

Comments
 (0)