Skip to content

Commit

Permalink
Merge pull request #15 from questionlp/develop
Browse files Browse the repository at this point in the history
Add missing stats_url to app.jinja_env.globals
  • Loading branch information
questionlp authored Jan 8, 2023
2 parents e4a3088 + 85b3e24 commit 5cd54af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changes

## 2.2.1

### Application Changes

- Fix issue with `stats_url` not being added to `app.jinja_env.globals` upon application startup

## 2.2.0

### Component Changes
Expand Down
1 change: 1 addition & 0 deletions app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def create_app():
app.jinja_env.globals["repo_url"] = _config["settings"].get("repo_url", "")
app.jinja_env.globals["reports_url"] = _config["settings"].get("reports_url", "")
app.jinja_env.globals["site_url"] = _config["settings"].get("site_url", "")
app.jinja_env.globals["stats_url"] = _config["settings"].get("stats_url", "")
app.jinja_env.globals["mastodon_url"] = _config["settings"].get("mastodon_url", "")
app.jinja_env.globals["mastodon_user"] = _config["settings"].get(
"mastodon_user", ""
Expand Down
2 changes: 1 addition & 1 deletion app/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# graphs.wwdt.me is released under the terms of the Apache License 2.0
"""Application Version for Wait Wait Graphs Site"""

APP_VERSION = "2.2.0"
APP_VERSION = "2.2.1"

0 comments on commit 5cd54af

Please sign in to comment.