mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 04:58:12 +08:00
add scripts from cli (#680)
* add scripts from cli * add warning when including scripts * flake8 fixes * confirm scripts injection
This commit is contained in:
@@ -8,7 +8,8 @@ bp = Blueprint("webapp", __name__, template_folder="templates")
|
||||
@bp.route("/")
|
||||
def index():
|
||||
dataset_title = current_app.config["DATASET_TITLE"]
|
||||
return render_template("index.html", datasetTitle=dataset_title)
|
||||
scripts = current_app.config["SCRIPTS"]
|
||||
return render_template("index.html", datasetTitle=dataset_title, SCRIPTS=scripts)
|
||||
|
||||
|
||||
@bp.route("/favicon.png")
|
||||
|
||||
Reference in New Issue
Block a user