From 69b83475a898b511d4e26544f2d0b4a09940c3ea Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 18 Jan 2016 19:44:34 +0100 Subject: remove superflous asset controller function. if http-authentication is directed do an redirect to same page without authentication. --- mediabrowser/__init__.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mediabrowser/__init__.py') diff --git a/mediabrowser/__init__.py b/mediabrowser/__init__.py index 824d7d8..28241b4 100644 --- a/mediabrowser/__init__.py +++ b/mediabrowser/__init__.py @@ -148,10 +148,6 @@ def build(root_directory, cache): process = ffmpeg.thumbnail(ospath, 852, 480) return process.stdout - @blueprint.route('/assets/') - def assets(filename): - return blueprint.send_static_file(filename) - @blueprint.route('//stream/_') def stream(ss, t, path): path = os.path.normpath(path) -- cgit v1.2.1