fix: [object item] fix show item url

This commit is contained in:
terrtia 2024-11-20 15:10:11 +01:00
parent edfd48b8e6
commit 3c376c8f06
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -58,7 +58,7 @@ def screenshot(filename):
s = Screenshot(filename)
return send_from_directory(SCREENSHOT_FOLDER, s.get_rel_path(add_extension=True), as_attachment=False, mimetype='image')
@objects_item.route("/objects/item")
@objects_item.route("/object/item")
@login_required
@login_read_only
def showItem(): # # TODO: support post