From 695389557c848c1bce78c085f1ef0dd36b2874e8 Mon Sep 17 00:00:00 2001 From: ninya9k Date: Sat, 17 Jul 2021 05:27:06 +0000 Subject: [PATCH] don't send secrets over the network but actually keep them somewhere --- website/routes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/routes.py b/website/routes.py index 79d46e1..25c0971 100644 --- a/website/routes.py +++ b/website/routes.py @@ -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: