From 7b372f0e04bbfb5198320de7c950dc670a2cdef4 Mon Sep 17 00:00:00 2001 From: Jordan Date: Wed, 17 Jun 2020 18:37:56 -0700 Subject: revert to non-bootstrap CSS, i miss it --- run.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'run.py') diff --git a/run.py b/run.py index 8cedd8d..8d3bed8 100755 --- a/run.py +++ b/run.py @@ -2,7 +2,6 @@ import os from flask import Flask, request, Response, render_template, send_file -from flask import send_from_directory from lib.util import check_auth, escape, generate_rss, read_cache abs_path = os.path.dirname(os.path.abspath(__file__)) @@ -49,12 +48,5 @@ def list_books(): return Response('unauthorized', 401, form) return render_template('index.html', books=books) -@app.route('/static/') -def send_static(path): - ''' - Serve static files from the static directory - ''' - return send_from_directory('static', path) - if __name__ == '__main__': app.run(host='127.0.0.1', port='8085', threaded=True) -- cgit v1.2.3-54-g00ecf