This commit is contained in:
Nyako
2026-06-12 15:31:03 +03:00
parent 627d3d55cc
commit 1db8e46064
4 changed files with 24 additions and 3 deletions
-1
View File
@@ -56,7 +56,6 @@ def post(post_id):
@app.route('/file/<path:filename>')
def serve_image(filename):
folder_path = tasks.find_file(filename, FILE_FOLDERS)
print(filename, FILE_FOLDERS)
if folder_path == None:
return make_response("Not found", 404)
else: