Commit 499235f3 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Registered enc blueprint.

parent f42a5e15
Pipeline #77675 passed with stages
in 27 minutes and 24 seconds
......@@ -36,6 +36,7 @@ from .optimade import blueprint as optimade_blueprint, api as optimade
from .docs import blueprint as docs_blueprint
from .dist import blueprint as dist_blueprint
from .gui import blueprint as gui_blueprint
from .encyclopedia import blueprint as encyclopedia_blueprint
from . import common
......@@ -110,6 +111,7 @@ app.register_blueprint(optimade_blueprint, url_prefix='/optimade')
app.register_blueprint(docs_blueprint, url_prefix='/docs')
app.register_blueprint(dist_blueprint, url_prefix='/dist')
app.register_blueprint(gui_blueprint, url_prefix='/gui')
app.register_blueprint(encyclopedia_blueprint, url_prefix='/encyclopedia')
......@@ -17,4 +17,4 @@ import os.path
gui_folder = os.path.abspath(os.path.join(
os.path.dirname(__file__), '../../dependencies/encyclopedia-gui/client'))
blueprint = Blueprint('gui_encyclopedia', __name__, static_url_path='/', static_folder=gui_folder)
blueprint = Blueprint('encyclopedia', __name__, static_url_path='/', static_folder=gui_folder)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment