completionId: cgen-91850cb5a0bf4f06af7d95cd8ab9a615

cgen-91850cb5a0bf4f06af7d95cd8ab9a615
This commit is contained in:
Builder.io 2025-11-15 20:33:29 +00:00
parent 92f9268a73
commit 04a8939261

View file

@ -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<EFBFBD><EFBFBD><EFBFBD> [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;
}