2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-17 21:25:37 +00:00

finally! abolishing private key property

This commit is contained in:
quadrismegistus 2020-09-07 14:31:56 +01:00
parent ab05d7fc10
commit 5cb62bb2c0

View File

@ -21,7 +21,7 @@ class TheSwitchboard(FlaskView, Logger):
default_methods = ['GET'] default_methods = ['GET']
excluded_methods = ['phone','op','send'] excluded_methods = ['phone','op','send']
@route(f'/{PATH_OPERATOR_WEB_KEYS_URI}/') @route('/.builtin.keys/')
def keys(self): def keys(self):
if not os.path.exists(PATH_OPERATOR_WEB_KEYS_FILE): if not os.path.exists(PATH_OPERATOR_WEB_KEYS_FILE):
self.log('no keys file exists!') self.log('no keys file exists!')