Skip to content
Snippets Groups Projects
Commit f6578277 authored by Julian Rother's avatar Julian Rother
Browse files

Replaced INTERNAL_IP_RANGES by FSMPI_IP_RANGES

parent 8f276af5
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment