Skip to content

Comments

Send server URL when advertising#6416

Open
VasilisThePikachu wants to merge 1 commit intospace-wizards:masterfrom
VasilisThePikachu:has-joined-hostname
Open

Send server URL when advertising#6416
VasilisThePikachu wants to merge 1 commit intospace-wizards:masterfrom
VasilisThePikachu:has-joined-hostname

Conversation

@VasilisThePikachu
Copy link
Member

This pull request makes the engine send out the servers current server URL when advertising.

This is intended for future additions to auth. Which include hub moderation and additions to helping with account recovery.

I am setting hub.serverurl in the advertisement flow so that we can be sure we have some value set to use later. Also we probably should not query the ip service every time we try to advertise and should just "cache" it.

@@ -51,7 +51,7 @@ public async void Start()
_sawmill.Info("hub.server_url unset. Trying to determine IP address automatically...");
try
{
url = await GuessAddress();
_cfg.SetCVar(CVars.HubServerUrl, url);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhm, what?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please read my PR description

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And... you're removing the guessing logic?

Copy link
Member Author

@VasilisThePikachu VasilisThePikachu Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I am an idiot I see what this is about . Please be more verbose next time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants