Update dependencies.

This commit is contained in:
2024-06-10 22:25:46 +01:00
parent a9fd6b3d0a
commit 371d51f96f
10 changed files with 32 additions and 48 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ var ratelimit_intervals = map[string]time.Duration{
}
func loadRatelimitConfig() error {
paths := []string{"/app/ratelimit.json", "./ratelimit.json", "./static/default-ratelimit.json"}
paths := []string{"/go/src/app/ratelimit.json", "./ratelimit.json", "./static/app/default-ratelimit.json"}
for _, path := range paths {
err := loadConfigFromPath(path)