Update token regex (#1148)

The new version of the token contains the - sign
pull/1149/head
Easy 2024-07-02 07:57:24 +08:00 committed by GitHub
parent 4b4a983750
commit 35ed4d266e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class NotifyServerChan(NotifyBase):
'type': 'string',
'private': True,
'required': True,
'regex': (r'^[a-z0-9]+$', 'i'),
'regex': (r'^[a-z0-9-]+$', 'i'),
},
})