Update token regex (#1148)

The new version of the token contains the - sign
This commit is contained in:
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

View File

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