fix: 修复key前缀验证

This commit is contained in:
tbphp
2025-06-09 14:08:06 +08:00
parent a5c40ac22e
commit 53c71a0f7f

View File

@@ -121,7 +121,7 @@ func (km *KeyManager) LoadKeys() error {
for scanner.Scan() {
line := strings.TrimSpace(scanner.Text())
if line != "" && strings.HasPrefix(line, "sk-") {
if line != "" {
keys = append(keys, line)
}
}