urlsh icon indicating copy to clipboard operation
urlsh copied to clipboard

Why do the URLs get saved into the localStorage only?

Open naddika opened this issue 1 year ago • 1 comments

Why do the URLs get saved into the localStorage only? What's Postgres for?

There's no ajax request for fetching the URLs. If I remove all data from the local storage, all the data will disappear from the page too.

naddika avatar Dec 23 '23 02:12 naddika

the postgres is for backend storage. localstorage for browser only - however if you self host this project, you can customize frontend to use api to sync backend and localstorage. this project already provides api

adhocore avatar Dec 23 '23 04:12 adhocore