How to make sure client doesn't sync when switching from dev to live server

Viewed 88

When I change the url in the client from localhost to myLiveServer.com, how do I make sure that the localStorage doesn't get synced with the live data? Do I need to configure that somewhere and extend the url like... localhost:8080/gun/dev and myLiveServer.com/gun/live

1 Answers
Related