Add remember relay options (#1000)#1001
Conversation
|
@ThatOneShortGuy the reason they were taken out is because its annoying when the default server relay changes and the config files have to be redone (because it stores the old), so my one ask would be to fix this so that the remember relay option only works if the relay address is different than the default |
6ff6cbf to
f013040
Compare
don't save relay if it is the default don't use remembered relay if it is the default
|
@schollz I see what you're talking about. At this point my concern is when the default IP changes. We can't track that in code, and the existing configs already have something like The best solution to that I can think of is to add the default |
|
Maybe something like saving the default address as a special symbol "default" or something. That way when it loads it always knows to use the default (even if it has changed). |
|
I added the |
|
Awesome, looks good! |
A fix for #1000
As someone who has never written Go before, that was pretty straight forward