fix(api): prefix
Some checks failed
ci / docker (web) (push) Failing after 2m18s
ci / docker (api) (push) Successful in 2m27s

This commit is contained in:
Tine Jozelj 2023-09-11 14:17:23 +02:00
parent 827d7dc743
commit 28e60b3d29
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw

View file

@ -1,6 +1,6 @@
import { Elysia } from "elysia"; import { Elysia } from "elysia";
const app = new Elysia(); const app = new Elysia({ prefix: "/api" });
app.get("/", (ctx) => ctx.headers); app.get("/", (ctx) => ctx.headers);