diff --git a/server.py b/server.py index 4a2792c..5e702d9 100755 --- a/server.py +++ b/server.py @@ -70,7 +70,9 @@ def generatePicture(pathToOrig, scaleX, scaleY, encoding, crop): return (newPath.replace(PICTURE_DIR, "", REPLACE_ONCE), False) @app.route("/media/") +@app.route("/m/") @app.route("/picture/") +@app.route("/pictures/") @app.route("/image/") @app.route("/images/") def sendPicture(path):