Add a Check for updates button under Settings; keep the self edge when settings are saved
CI / test (push) Successful in 4m48s
CI / test (push) Successful in 4m48s
Saving settings replaced the whole Settings value, which would have dropped SelfEdgeID and made the next start create a second self edge with a new token. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
da3d7201a1
commit
abf352e6c9
10 files changed
+135
-1
No files matched your search
@@ -78,6 +78,8 @@ func main() {
|
||||
SelfDomain: os.Getenv("HAMMERHEAD_SELF_DOMAIN"),
|
||||
SelfTarget: localAddr(*listen),
|
||||
SelfTunnel: os.Getenv("HAMMERHEAD_SELF_TUNNEL"),
|
||||
Version: version,
|
||||
AutoUpdate: *autoUpdate,
|
||||
})
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
Reference in new issue
Block a user