Compare commits

..

No commits in common. "5e8f1ee46df6918c971fc9351aa02d3223046d91" and "0e56ca16bb72a9f3ab424b3b3e021fc4d1c46a69" have entirely different histories.

3 changed files with 12 additions and 3 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.3.6"
current_version = "1.3.5"
commit = true
tag = true
tag_name = "{new_version}"

View File

@ -1 +1 @@
1.3.6
1.3.5

View File

@ -57,4 +57,13 @@ def remove_extra_url():
extra_urls_list.remove(extra_url)
write_extra_urls_list(extra_urls_list)
return jsonify({'message': 'Extra URL removed successfully.'}), 200
return jsonify({'message': 'Extra URL removed successfully.'}), 200
@extra_urls_bp.route('/extra_urls_file', methods=['GET'])
def get_extra_urls_file():
"""Gets the content of the extra_urls.txt file."""
if not os.path.exists(EXTRA_URLS_FILE):
return "File not found", 404
with open(EXTRA_URLS_FILE, 'r') as f:
content = f.read()
return Response(content, mimetype='text/plain')