Skip to content

Commit a3f4fdb

Browse files
committed
weird that only worked locally
1 parent ddb71b4 commit a3f4fdb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utils/geo.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export function checkForForbiddenRegions(req: IncomingMessage, res: OutgoingMess
3131
console.info('country', coutry, 'region', region)
3232

3333
if (isForbiddenLand(coutry, region)) {
34-
res.end('451 Unavailable for Legal Reasons')
3534
return { redirect: { destination: '/terms', permanent: false } }
3635
}
3736
}

0 commit comments

Comments
 (0)