Configure refresh via config file

This commit is contained in:
Michael Mandl 2018-11-05 22:01:57 +01:00
parent 5031b1e8a2
commit 0f07fb70c8
3 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@ app = Flask(__name__)
@app.route("/")
def random():
return render_template("random.html")
return render_template("random.html", refresh=config.refresh)
@app.route("/random_image/")