diff --git a/server.py b/server.py index 4a09d5e..2f90155 100755 --- a/server.py +++ b/server.py @@ -56,6 +56,9 @@ def generatePicture(pathToOrig, scaleX, scaleY, encoding): return newPath.replace(PICTURE_DIR, "", REPLACE_ONCE) @app.route("/media/") +@app.route("/picture/") +@app.route("/image/") +@app.route("/images/") def sendPicture(path): cache_timeout = 2592000