refactor: enhance API security with read-only token authentication and improved rate limiting

This commit is contained in:
CaIon
2026-02-06 21:26:26 +08:00
parent 2ada935460
commit 5cf788f1bf
6 changed files with 119 additions and 153 deletions

View File

@@ -39,7 +39,7 @@ var OptionMap map[string]string
var OptionMapRWMutex sync.RWMutex
var ItemsPerPage = 10
var MaxRecentItems = 100
var MaxRecentItems = 1000
var PasswordLoginEnabled = true
var PasswordRegisterEnabled = true