diff options
author | Jordan <me@jordan.im> | 2020-06-17 18:37:56 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2020-06-17 18:37:56 -0700 |
commit | 7b372f0e04bbfb5198320de7c950dc670a2cdef4 (patch) | |
tree | 59fb2c2614e72a9decef06cb59de7f1ecdaeda49 /run.py | |
parent | b9d9ce7c7488ea1789ef3b31eb5a0c4e7a2eddb2 (diff) | |
download | roka-7b372f0e04bbfb5198320de7c950dc670a2cdef4.tar.gz roka-7b372f0e04bbfb5198320de7c950dc670a2cdef4.zip |
revert to non-bootstrap CSS, i miss it
Diffstat (limited to 'run.py')
-rwxr-xr-x | run.py | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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/<path:path>') -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) |