Update
This commit is contained in:
@@ -540,7 +540,6 @@ def kb_upload_image():
|
|||||||
# ── File-serve route (images embedded in articles + attachment downloads) ─────
|
# ── File-serve route (images embedded in articles + attachment downloads) ─────
|
||||||
|
|
||||||
@admin_bp.route('/kb/files/<string:stored_name>')
|
@admin_bp.route('/kb/files/<string:stored_name>')
|
||||||
@login_required
|
|
||||||
def kb_serve_file(stored_name):
|
def kb_serve_file(stored_name):
|
||||||
"""Serve a KB attachment file. Login required — no public access.
|
"""Serve a KB attachment file. Login required — no public access.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user