This commit is contained in:
Deva Midhun 2025-02-10 17:23:07 +00:00
parent c18b0f4400
commit 93065cb026

View File

@ -22,7 +22,7 @@ export default function (req: VercelRequest, res: VercelResponse) {
// You can add more supported usernames as needed.
let profileUrl: string;
if (username === "blog") {
profileUrl = "https://coderrrrr.site/blog";
profileUrl = "https://coderrrrr.site/@blog";
} else {
// If the username is not recognized, return a 404.
res.status(404).json({ error: "User not found" });