mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Added .gif support because I like to watch the world burn
This commit is contained in:
@@ -93,6 +93,7 @@ def dynamic_image():
|
||||
@webserver.route("/images/<pth:re:.*\\.jpeg>")
|
||||
@webserver.route("/images/<pth:re:.*\\.jpg>")
|
||||
@webserver.route("/images/<pth:re:.*\\.png>")
|
||||
@webserver.route("/images/<pth:re:.*\\.gif>")
|
||||
def static_image(pth):
|
||||
small_pth = pth.split(".")
|
||||
small_pth.insert(-1,"small")
|
||||
|
||||
Reference in New Issue
Block a user