Skip to content

Commit

Permalink
feat: support Bun
Browse files Browse the repository at this point in the history
ccbikai committed Nov 25, 2024

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
1 parent 395d7bc commit bc0df7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ export default {
const geo = {
flag: country && getFlag(country),
country: country,
countryRegion: request.cf?.region || request.headers.get('cf-ipregion'),
countryRegion: request.cf?.region || request.headers.get('cf-region'),
city: request.cf?.city || request.headers.get('cf-ipcity'),
region: request.cf?.colo || colo,
latitude: request.cf?.latitude || request.headers.get('cf-iplatitude'),

0 comments on commit bc0df7c

Please sign in to comment.