import { cookies } from "next/headers"; import { redirect } from "next/navigation"; import { getMe } from "@/lib/api"; import { FederationPanel } from "@/components/federation/federation-panel"; import { MigrationSettings } from "@/components/federation/migration-settings"; import { ProfileFieldsEditor } from "@/components/profile-fields-editor"; export default async function FederationSettingsPage() { const token = (await cookies()).get("auth_token")?.value; if (!token) { redirect("/login"); } const me = await getMe(token); return (
Manage remote follow requests, followers, and accounts you follow on other instances.