Compare commits
	
		
			2 Commits
		
	
	
		
			0e56ca16bb
			...
			5e8f1ee46d
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 5e8f1ee46d | |||
| f619644d59 | 
| @ -1,5 +1,5 @@ | ||||
| [tool.bumpversion] | ||||
| current_version = "1.3.5" | ||||
| current_version = "1.3.6" | ||||
| commit = true | ||||
| tag = true | ||||
| tag_name = "{new_version}" | ||||
|  | ||||
| @ -58,12 +58,3 @@ 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 | ||||
| 
 | ||||
| @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') | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user