Serve random images with automatic refresh
This commit is contained in:
parent
96993ac3d0
commit
5031b1e8a2
3 changed files with 13 additions and 13 deletions
8
templates/random.html
Normal file
8
templates/random.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="5;url={{ url_for("random") }}">
|
||||
</head>
|
||||
<body bgcolor="black">
|
||||
<img src="{{ url_for("random_image") }}" style="height: 98%; width: 100%; object-fit: contain"/>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue