diff --git a/frontends/etiquette_flask/etiquette_flask/endpoints/photo_endpoints.py b/frontends/etiquette_flask/etiquette_flask/endpoints/photo_endpoints.py index 8981314..353ceba 100644 --- a/frontends/etiquette_flask/etiquette_flask/endpoints/photo_endpoints.py +++ b/frontends/etiquette_flask/etiquette_flask/endpoints/photo_endpoints.py @@ -31,7 +31,8 @@ def get_photo_json(photo_id): return photo @site.route('/file/') -def get_file(photo_id): +@site.route('/file//') +def get_file(photo_id, basename=None): photo_id = photo_id.split('.')[0] photo = common.P.get_photo(photo_id)