From 5139ff47e9eda58db4ce672f817c92ae866dfa27 Mon Sep 17 00:00:00 2001 From: wes Date: Wed, 22 Jun 2016 03:04:02 -0400 Subject: [PATCH] add a prefix for /search --- src/website.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/website.py b/src/website.py index 426fbf0..5fdc2d4 100755 --- a/src/website.py +++ b/src/website.py @@ -123,7 +123,7 @@ def ClassSearch(configfile=None): if not (any(openlib) or any(iarchive)): # We literally could not find ANYTHING return dumps("false") - + return dumps({ "iarchive" : iarchive, "openlib" : openlib @@ -138,7 +138,7 @@ def ClassSearch(configfile=None): return send_from_directory(app.config["styles"], filename) app = Flask(__name__) - app.register_blueprint(blueprint) + app.register_blueprint(blueprint, prefix="/search") Bootstrap(app) app.config["scripts"] = "./scripts" app.config["styles"] = "./styles"