don't send secrets over the network but actually keep them somewhere

このコミットが含まれているのは:
n9k 2021-07-17 05:27:06 +00:00
コミット 695389557c
1個のファイルの変更1行の追加2行の削除

ファイルの表示

@ -452,8 +452,7 @@ def reload():
CONFIG[key] = config[key]
# don't send secrets over the network
for key in config['secrets']:
config['secrets'][key] = None
config['secrets'] = list(config['secrets'])
response = make_response(config)
# this exists for the same reason as in /debug
if get_token() != BROADCASTER_TOKEN: