parent
77d2fef43a
commit
3629e91d62
2 changed files with 9 additions and 0 deletions
|
|
@ -53,5 +53,13 @@ async def index() -> str:
|
|||
return flask.render_template("index.html", today=now.date(), **data)
|
||||
|
||||
|
||||
@app.route("/icon/office-calendar.png")
|
||||
def icon() -> flask.Response:
|
||||
"""Favicon."""
|
||||
return flask.send_file(
|
||||
"/usr/share/icons/elementary-xfce/apps/128/office-calendar.png"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue