import Link from 'next/link'; import { getCountriesSummary } from '@/lib/queries'; import { countryCodeToFlag, countryCodeToName, formatMinutes } from '@/lib/steam'; // This page queries the DB directly with no dynamic route segment, so // without this Next.js tries to statically pre-render it at BUILD time // (requiring a live DB connection then, not just at request time). export const dynamic = 'force-dynamic'; export default async function CountriesPage() { const countries = await getCountriesSummary(); return (
Where the server's players connect from, most players first.