raucao / webmarks

remoteStorage-enabled bookmarking app
https://webmarks.5apps.com
Other
76 stars 11 forks source link

When updating a URL, delete the existing RS document #75

Closed raucao closed 5 years ago

raucao commented 5 years ago

As the bookmark document path on the server is generated from the MD5 hash of the URL (so you can fetch an existing one merely by knowing the URL), Webmarks currently creates a new document when updating the URL. But it doesn't delete the existing one, so you end up with two documents, one using the old URL and one using the new one.

raucao commented 5 years ago

Much better now.