diff --git a/run.py b/run.py index 981416e..0d23de5 100755 --- a/run.py +++ b/run.py @@ -153,11 +153,6 @@ def get_file(filename): print_log('Warning', 'Unable to update access time. Is the file in the database?') return send_from_directory(config['UPLOAD_FOLDER'], filename) -@app.route('/share/') -@app.route('/file/') -def serve_legacy(filename): - return send_from_directory('legacy', filename) - # Configure nginx to use these urls as custom error pages @app.route('/error/')