feat: add admin statistics API endpoint and GeoMap component for scan visualization.

This commit is contained in:
Timo
2026-01-07 18:46:23 +01:00
parent 509e5a51a7
commit 57d6e3a449
2 changed files with 39 additions and 36 deletions

View File

@@ -2,6 +2,8 @@ import { NextRequest, NextResponse } from 'next/server';
import { cookies } from 'next/headers';
import { db } from '@/lib/db';
export const dynamic = 'force-dynamic';
export async function GET(request: NextRequest) {
try {
// Check newsletter-admin cookie authentication