diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2016-01-18 19:44:34 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2016-01-18 19:49:58 +0100 |
commit | 69b83475a898b511d4e26544f2d0b4a09940c3ea (patch) | |
tree | fb95c909879c5d6d8cb4b84581a387b07c00812e /mediabrowser/__init__.py | |
parent | 0b91c6c444a83c8d8f93ae29882a485858c95c5f (diff) | |
download | flask-mediabrowser-69b83475a898b511d4e26544f2d0b4a09940c3ea.tar.gz flask-mediabrowser-69b83475a898b511d4e26544f2d0b4a09940c3ea.zip |
remove superflous asset controller function.
if http-authentication is directed do an redirect to
same page without authentication.
Diffstat (limited to 'mediabrowser/__init__.py')
-rw-r--r-- | mediabrowser/__init__.py | 4 |
1 files changed, 0 insertions, 4 deletions
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/<path:filename>') - def assets(filename): - return blueprint.send_static_file(filename) - @blueprint.route('/<path:path>/stream/<float:ss>_<float:t>') def stream(ss, t, path): path = os.path.normpath(path) |