From 6d851ec6560259842caa0c0cef16b8602a2b25dd Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Tue, 8 Jan 2019 23:10:06 +0100
Subject: [PATCH] Add index.html explicitly

---
 app/routes.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/routes.py b/app/routes.py
index c021708..26dd32d 100644
--- a/app/routes.py
+++ b/app/routes.py
@@ -3,6 +3,7 @@ from flask import render_template, send_from_directory
 from app import app
 
 PLOTS_PATH = "../plots"
+app.config['FREEZER_DESTINATION'] = '../km3web'
 
 PLOTS = [
     ['dom_activity', 'dom_rates'],
@@ -24,6 +25,7 @@ def add_header(r):
 
 
 @app.route('/')
+@app.route('/index.html')
 def index():
     return render_template('plots.html', plots=PLOTS)
 
-- 
GitLab