don't send secrets over the network but actually keep them somewhere
このコミットが含まれているのは:
コミット
695389557c
|
@ -452,8 +452,7 @@ def reload():
|
||||||
CONFIG[key] = config[key]
|
CONFIG[key] = config[key]
|
||||||
|
|
||||||
# don't send secrets over the network
|
# don't send secrets over the network
|
||||||
for key in config['secrets']:
|
config['secrets'] = list(config['secrets'])
|
||||||
config['secrets'][key] = None
|
|
||||||
response = make_response(config)
|
response = make_response(config)
|
||||||
# this exists for the same reason as in /debug
|
# this exists for the same reason as in /debug
|
||||||
if get_token() != BROADCASTER_TOKEN:
|
if get_token() != BROADCASTER_TOKEN:
|
||||||
|
|
読み込み中…
新しいイシューから参照