diff --git a/apps/web/pages/api/user/avatar.ts b/apps/web/pages/api/user/avatar.ts index da86db7bac..11512759fd 100644 --- a/apps/web/pages/api/user/avatar.ts +++ b/apps/web/pages/api/user/avatar.ts @@ -105,8 +105,6 @@ async function getIdentityData(req: NextApiRequest) { export default async function handler(req: NextApiRequest, res: NextApiResponse) { const identity = await getIdentityData(req); const img = identity?.avatar; - // We cache for one day - res.setHeader("Cache-Control", "s-maxage=86400, stale-while-revalidate=60"); // If image isn't set or links to this route itself, use default avatar if (!img) { if (identity?.org) {