Serve images from a separate direcory configured in an external config
file (config.py)
This commit is contained in:
parent
d45d1347bd
commit
f0fb5f0d9f
4 changed files with 11 additions and 1 deletions
|
@ -2,5 +2,6 @@
|
|||
<body>
|
||||
<p>Hello slider number {{ num }}!</p>
|
||||
<p><img src="{{ url_for("static", filename="cat.jpg") }}"></p>
|
||||
<p><a href="{{ url_for("image", filename="IMG_0001.jpg") }}">Image</a></p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue