forge
Explore
Log in

Don't you dare go Hollow

the app files itself under the stored public address or base_url alone: the bound address was the last fallback, and a loopback bind is nothing anyone else can reach — filed, it would have overwritten the real address in every switcher; neither set now skips the registration with the one boot-time line it already had

Browse files at this commit

f36493faa8f539affb5f0c69f7c6bf7f5b27f586Ahmet Kaan GümüşParent: 87d91bc
Claude-Session: https://claude.ai/code/session_01JDMA1TAen2UjGRvUVu96KE
crates/iz-web/src/main.rsmodified+5 -1
@@ -146,10 +146,14 @@ async fn main() {
146146 // mailable before their first visit, and the provider's renames and
147147 // admin flips follow on their own. Runs beside the sweep, first pass
148148 // right away so a fresh deploy sees everyone at boot.
149+ // The address the app files itself under is `base_url` alone: a bound
150+ // address is no fallback here — a loopback bind is nothing anyone else
151+ // can reach, and filing it would overwrite the real one in every
152+ // switcher.
149153 tokio::spawn(directory_sync(
150154 store.clone(),
151155 iz_client::IzClient::new(oidc.clone()),
152- config.public_url(),
156+ config.base_url.clone(),
153157 ));
154158 // Told when the process is stopping, so the live streams end instead of
155159 // being waited out. See `iz_web::live::Shutdown`.