Skip to content

Commit

Permalink
TL: temporary fix for logos on main page
Browse files Browse the repository at this point in the history
  • Loading branch information
tlunet committed Jul 18, 2023
1 parent 2c2fb31 commit b708332
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dynamic_site/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ def assets(file):
os.path.join(self.flask_app.root_path, "static", "assets"),
file,
)

@self.flask_app.route("/doc/images/<file>")
def doc(file):
return send_from_directory(
os.path.join(self.flask_app.root_path, "static", "doc", "images"),
file,
)

# -----------
# Subdirectory path apps
Expand Down

0 comments on commit b708332

Please sign in to comment.