Skip to content

Commit fbc82d2

Browse files
committed
Free Poland
1 parent a3f4fdb commit fbc82d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils/geo.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ import type { IncomingMessage, OutgoingMessage } from 'http'
33
export const HTTP_HEADER_COUNTRY = 'x-vercel-ip-country'
44
export const HTTP_HEADER_REGION = 'x-vercel-ip-country-region'
55

6-
const TEST_COUNTRY = 'PL'
76
// korea, iran, cuba, syria
8-
const RESTRICTED_COUNTRIES = new Set(['KP', 'IR', 'CU', 'SY', TEST_COUNTRY])
7+
const RESTRICTED_COUNTRIES = new Set(['KP', 'IR', 'CU', 'SY'])
98

109
// https://www.iso.org/obp/ui/#iso:code:3166:UA although listed with UA prefix. the header/api recieved that and just used the number
1110
const crimea = '43'

0 commit comments

Comments
 (0)