mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-22 22:29:30 +00:00
llms and depracations pt.2
This commit is contained in:
@@ -320,7 +320,7 @@ def api():
|
|||||||
|
|
||||||
# Return the patched file directly
|
# Return the patched file directly
|
||||||
try:
|
try:
|
||||||
return send_file(file_path, as_attachment=True, attachment_filename=library_name)
|
return send_file(file_path, as_attachment=True, download_name=library_name)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error sending file: {str(e)}")
|
logger.error(f"Error sending file: {str(e)}")
|
||||||
return jsonify({"error": f"Error sending file: {str(e)}"}), 500
|
return jsonify({"error": f"Error sending file: {str(e)}"}), 500
|
||||||
|
|||||||
Binary file not shown.
@@ -1,6 +1,5 @@
|
|||||||
#!/system/bin/sh
|
#!/system/bin/sh
|
||||||
|
|
||||||
|
|
||||||
# Define variables
|
# Define variables
|
||||||
API_URL="https://aln.kavishdevar.me/api"
|
API_URL="https://aln.kavishdevar.me/api"
|
||||||
TEMP_DIR="$TMPDIR/aln_patch"
|
TEMP_DIR="$TMPDIR/aln_patch"
|
||||||
|
|||||||
Reference in New Issue
Block a user