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

Added Support for Turso #3

Merged
merged 4 commits into from
Dec 30, 2024
Merged

Added Support for Turso #3

merged 4 commits into from
Dec 30, 2024

Conversation

arcestia
Copy link
Member

Replacing Cloudflare KV to Turso

arcestia and others added 4 commits December 30, 2024 11:49
- Add database client initialization and table creation
- Implement stats tracking with proper error handling
- Add rate limiting with IP-based tracking
- Fix domain limit handling to allow up to 100 domains per request
- Update environment variables for both dev and prod
- Add better error handling and logging
- Changed rate limit from 100 to 1000 domains
- Changed window from 60 to 10 minutes
- Added rate limit info to the form
- Fixed HTML template rendering
- Added checker.ts for domain checking logic
- Updated db.ts with improved error handling
- Added new dependencies in package.json
- Fixed rate limiting and HTML template issues
Signed-off-by: Laurensius Jeffrey <[email protected]>
@arcestia arcestia assigned arcestia and unassigned arcestia Dec 30, 2024
@arcestia arcestia requested a review from Skiddle-Git December 30, 2024 05:38
Copy link
Contributor

@Skiddle-Git Skiddle-Git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

used latest library.

@Skiddle-Git Skiddle-Git merged commit 9656f4b into main Dec 30, 2024
@Skiddle-Git Skiddle-Git deleted the added-turso branch December 30, 2024 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants