Updating rate limits to also use TOML

This commit is contained in:
🐙PiperYxzzy
2025-10-13 20:53:49 +02:00
parent acd23c2f45
commit ff15c7a65f
9 changed files with 138 additions and 79 deletions

View File

@@ -54,6 +54,9 @@ func main() {
}
}
// Pre-load rate limits
controllers.LoadRateLimits()
v1 := r.Group("/v1")
v1.GET("/doot", controllers.UnauthRateLimit(), core.Doot())