use spaces instead of commas in flags

This commit is contained in:
Aman Varshney
2025-04-01 14:57:46 +05:30
parent 47e429554d
commit b296ac28ed
14 changed files with 390 additions and 163 deletions

View File

@@ -19,9 +19,8 @@ const app = new Elysia()
const { request } = context;
if (["POST", "GET"].includes(request.method)) {
return auth.handler(request);
} else {
context.error(405);
}
context.error(405);
})
.all("/trpc/*", async (context) => {
const res = await fetchRequestHandler({
@@ -34,5 +33,5 @@ const app = new Elysia()
})
.get("/", () => "OK")
.listen(3000, () => {
console.log(`Server is running on http://localhost:3000`);
console.log("Server is running on http://localhost:3000");
});