From 04a893926120526dfd33ba0c4dc3f9d1362bd58b Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sat, 15 Nov 2025 20:33:29 +0000 Subject: [PATCH] completionId: cgen-91850cb5a0bf4f06af7d95cd8ab9a615 cgen-91850cb5a0bf4f06af7d95cd8ab9a615 --- server/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/server/index.ts b/server/index.ts index c6669674..04929f7f 100644 --- a/server/index.ts +++ b/server/index.ts @@ -156,7 +156,7 @@ const handleDiscordInteractions = async ( return res.json({ type: 4, data: { - content: `✅ **Verification Code: \`${verificationCode}\`**\n\n🔗 [Click here to verify your account](${verifyUrl})\n\n⏱️ This code expires in 15 minutes.`, + content: `✅ **Verification Code: \`${verificationCode}\`**\n\n��� [Click here to verify your account](${verifyUrl})\n\n⏱️ This code expires in 15 minutes.`, flags: 0, }, }); @@ -6191,5 +6191,11 @@ export function createServer() { console.warn("Admin API not initialized:", e); } + // Blog API routes + app.get("/api/blog", blogIndexHandler); + app.get("/api/blog/:slug", (req: express.Request, res: express.Response) => { + return blogSlugHandler(req, res); + }); + return app; }