Repository navigation
A server saved by its LAN address offers its public one (GRYT-2007) - #1147
Merged
Merged
Conversation
The app remembers public_host from server:details as the saved server's publicHost. When that server isn't answering, the screen offers "Connect through <public host>", which adds the public address and removes the LAN one. It's joined and proved like any server added by hand, so its identity check runs as normal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ingy had Gryt (Beta) saved as
<lan-ip>:5010, and on another network the app said it wasn't answering while her phone still got pushes.public_hostfromserver:detailson the saved server.Look at: the switch goes through
addServer, so the public address is joined and its identity proved and pinned like any server added by hand. Nothing dials the public address under the LAN one's name. That's why this isn't the automatic "LAN first, then public" version: that one has to teach the proof gate that two addresses are one server, which is its own PR.Server half: Gryt-chat/server#362. Beta config: Gryt-chat/gryt PR to set
EXTERNAL_HOST.🤖 Generated with Claude Code