mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
use spaces instead of commas in flags
This commit is contained in:
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user