mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix flags validation and new stack architech design
This commit is contained in:
@@ -68,5 +68,5 @@ const app = new Elysia()
|
||||
{{/if}}
|
||||
.get("/", () => "OK")
|
||||
.listen(3000, () => {
|
||||
console.log(`Server is running on http://localhost:3000`);
|
||||
console.log("Server is running on http://localhost:3000");
|
||||
});
|
||||
|
||||
@@ -70,7 +70,6 @@ app.use("/trpc/*", trpcServer({
|
||||
{{/if}}
|
||||
|
||||
{{#if (includes examples "ai")}}
|
||||
// AI chat endpoint
|
||||
app.post("/ai", async (c) => {
|
||||
const body = await c.req.json();
|
||||
const messages = body.messages || [];
|
||||
|
||||
Reference in New Issue
Block a user