This commit is contained in:
dangered wolf 2023-11-20 22:49:15 -05:00
parent 9348a7876f
commit 10b0fc0d85
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -53,7 +53,7 @@ export const profileRequest = async (c: Context) => {
const profileResponse = await handleProfile(c, username, flags);
/* Check for custom redirect */
if (!isBotUA) {
if (!isBotUA && !flags.api) {
return c.redirect(`${baseUrl}/${handle}`, 302);
}