mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 02:20:54 +01:00
Fix #497
This commit is contained in:
parent
9348a7876f
commit
10b0fc0d85
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue