Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -749,7 +749,7 @@ def export_bookmarks():
|
|
749 |
href = f'data:text/html;base64,{b64}'
|
750 |
|
751 |
logger.info("Bookmarks exported successfully")
|
752 |
-
return f'<
|
753 |
except Exception as e:
|
754 |
logger.error(f"Error exporting bookmarks: {e}")
|
755 |
return "⚠️ Error exporting bookmarks."
|
|
|
749 |
href = f'data:text/html;base64,{b64}'
|
750 |
|
751 |
logger.info("Bookmarks exported successfully")
|
752 |
+
return f'<a href="{href}" download="bookmarks.html">💾 Download Exported Bookmarks</a>'
|
753 |
except Exception as e:
|
754 |
logger.error(f"Error exporting bookmarks: {e}")
|
755 |
return "⚠️ Error exporting bookmarks."
|