Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,7 @@
<main id="sp42-loading-shell" class="sp42-loading-shell">
<section class="sp42-loading-card">
<h1>SP42</h1>
<p><strong>Booting patrol workbench…</strong></p>
<p>
The browser shell mounts here once the Rust/Wasm bundle is ready. Run the
localhost server on <code>127.0.0.1:8788</code> for auth, coordination,
and debug surfaces.
</p>
<p><strong>Loading SP42…</strong></p>
</section>
</main>
</body>
Expand Down
9 changes: 9 additions & 0 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}
}
Loading