Configure refresh via config file
This commit is contained in:
parent
5031b1e8a2
commit
0f07fb70c8
3 changed files with 3 additions and 2 deletions
|
@ -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/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue