Commit ac5dac2
committed
fix: Upstash Rate Limiter
1) Fixed a few minor issues.
2) Used existing Shadcn components to maintain UI consistency.
3) Implemented Upstash Rate Limiting and set up a Redis database to prevent spoofing(IP) and report spamming.1 parent 0c288c4 commit ac5dac2
6 files changed
Lines changed: 218 additions & 204 deletions
File tree
- src
- app/api/report-tag
- components
- lib/utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
0 commit comments