From f65782779f451a6d92cf84639351f3f57fb3568b Mon Sep 17 00:00:00 2001 From: Julian Rother <julianr@fsmpi.rwth-aachen.de> Date: Mon, 23 Jul 2018 02:43:44 +0200 Subject: [PATCH] Replaced INTERNAL_IP_RANGES by FSMPI_IP_RANGES --- livestreams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/livestreams.py b/livestreams.py index 81864ba..1146185 100644 --- a/livestreams.py +++ b/livestreams.py @@ -116,7 +116,7 @@ def streamdrop(id): @app.route('/internal/streaming/auth/<server>', methods=['GET', 'POST']) def streamauth(server): internal = False - for net in config.get('INTERNAL_IP_RANGES', []): + for net in config.get('FSMPI_IP_RANGES', []): if ip_address(request.headers['X-Real-IP']) in ip_network(net): internal = True if not internal: -- GitLab