From ca81289ebd353d1be565068d6347069e1d80c081 Mon Sep 17 00:00:00 2001 From: aeolian <94939382+aeolianeth@users.noreply.github.com> Date: Mon, 18 Nov 2024 07:20:20 +1000 Subject: [PATCH] geofence test --- src/middleware.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware.ts b/src/middleware.ts index 1d0758ed63..3708cc6d6c 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -8,7 +8,7 @@ const HANDLE_REGEX = new RegExp(/\/@([^/]+).*/) const logger = getLogger('middleware/page') -const GEOFENCED_PROJECT_IDS = [{ projectId: 64, blockedCountries: ['US'] }] +const GEOFENCED_PROJECT_IDS = [{ projectId: 64, blockedCountries: ['AU'] }] export async function middleware(request: NextRequest) { logger.info('middleware request', { pathname: request.nextUrl.pathname })