Skip to content
Snippets Groups Projects
Commit 6d851ec6 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add index.html explicitly

parent a9e85611
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ from flask import render_template, send_from_directory ...@@ -3,6 +3,7 @@ from flask import render_template, send_from_directory
from app import app from app import app
PLOTS_PATH = "../plots" PLOTS_PATH = "../plots"
app.config['FREEZER_DESTINATION'] = '../km3web'
PLOTS = [ PLOTS = [
['dom_activity', 'dom_rates'], ['dom_activity', 'dom_rates'],
...@@ -24,6 +25,7 @@ def add_header(r): ...@@ -24,6 +25,7 @@ def add_header(r):
@app.route('/') @app.route('/')
@app.route('/index.html')
def index(): def index():
return render_template('plots.html', plots=PLOTS) return render_template('plots.html', plots=PLOTS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment