mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 08:14:55 +08:00
@@ -122,7 +122,7 @@ func (c *Config) Normalize() error {
|
||||
if c.AuthQueryParam == "" {
|
||||
c.AuthQueryParam = "bat_token"
|
||||
}
|
||||
c.AuthExemptPaths = normalizePathList(c.AuthExemptPaths)
|
||||
c.AuthExemptPaths = normalizePathList(append(c.AuthExemptPaths, dashboardAuthExemptPaths()...))
|
||||
if c.RateLimitRPS < 0 {
|
||||
return fmt.Errorf("rate limit rps must be >= 0")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user