diff --git a/index.html b/index.html index 80cbffc3..cb425f5f 100644 --- a/index.html +++ b/index.html @@ -73,12 +73,7 @@

SP42

-

Booting patrol workbench…

-

- The browser shell mounts here once the Rust/Wasm bundle is ready. Run the - localhost server on 127.0.0.1:8788 for auth, coordination, - and debug surfaces. -

+

Loading SP42…

diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 5b339f3f..653f5072 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -1125,4 +1125,13 @@ mod tests { assert_eq!(args, ["tauri", "build"]); } + + #[test] + fn web_loading_shell_does_not_expose_local_server_instructions() { + let html = include_str!("../../index.html"); + + assert!(html.contains("Loading SP42…")); + assert!(!html.contains("127.0.0.1:8788")); + assert!(!html.contains("localhost server")); + } }