fix(api): prefix
This commit is contained in:
parent
827d7dc743
commit
28e60b3d29
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import { Elysia } from "elysia";
|
||||
|
||||
const app = new Elysia();
|
||||
const app = new Elysia({ prefix: "/api" });
|
||||
|
||||
app.get("/", (ctx) => ctx.headers);
|
||||
|
||||
|
|
Loading…
Reference in a new issue