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; }