mirror of https://gitlab.com/bashrc2/epicyon
Comment
parent
4a34ee0e80
commit
fac9296caf
|
@ -5814,6 +5814,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
return json.loads(messageBytes)
|
||||
|
||||
def _cryptoAPI(self, path: str, authorized: bool) -> None:
|
||||
"""POST or GET with the crypto API
|
||||
"""
|
||||
if authorized and path.startswith('/api/v1/crypto/keys/upload'):
|
||||
if not self.authorizedNickname:
|
||||
self._400()
|
||||
|
|
Loading…
Reference in New Issue