Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement geoblocking #31

Merged
merged 15 commits into from
May 8, 2024
Merged

implement geoblocking #31

merged 15 commits into from
May 8, 2024

Conversation

aaronmgdr
Copy link
Member

@aaronmgdr aaronmgdr commented May 6, 2024

What it solves

legal need to disallow access in certain regions

Resolves #

How this PR fixes it

ip based geo blocking

Uploading Screen Recording 2024-05-07 at 1.47.17 PM.mov…

and?

turn off static site generation. geoblocking is not compatible as you need the server to view requests

set node engine to 18. app will continue to work after june 14th :)

Copy link

vercel bot commented May 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
safe-celo-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 8, 2024 9:21am

Copy link

github-actions bot commented May 6, 2024

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@aaronmgdr aaronmgdr deployed to preview May 7, 2024 08:57 — with GitHub Actions Active
@aaronmgdr aaronmgdr deployed to preview May 7, 2024 10:13 — with GitHub Actions Active
@aaronmgdr aaronmgdr deployed to preview May 7, 2024 10:47 — with GitHub Actions Active
@aaronmgdr aaronmgdr deployed to preview May 7, 2024 11:01 — with GitHub Actions Active
@aaronmgdr aaronmgdr deployed to preview May 7, 2024 11:34 — with GitHub Actions Active
@aaronmgdr aaronmgdr deployed to preview May 7, 2024 11:41 — with GitHub Actions Active
@aaronmgdr
Copy link
Member Author

Tested by temporarily adding my country to the banned list

package.json Show resolved Hide resolved
src/utils/geo.ts Outdated Show resolved Hide resolved
@aaronmgdr aaronmgdr marked this pull request as ready for review May 7, 2024 11:50
@lvpeschke lvpeschke requested a review from BenAtClabs May 7, 2024 14:51
@aaronmgdr aaronmgdr deployed to preview May 8, 2024 09:18 — with GitHub Actions Active
@aaronmgdr
Copy link
Member Author

@BenAtClabs gave a thumbs up on slack

@aaronmgdr aaronmgdr merged commit 4bbb0a1 into dev May 8, 2024
9 of 11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant