WEB Carrier Counters + Status

Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
Alexey
2026-08-31 21:39:09 +03:00
parent 66f2b8889f
commit 718ce0847e
51 changed files with 2252 additions and 453 deletions
+2
View File
@@ -34,6 +34,7 @@ pub(crate) fn render(
rng.fill(&mut nonce);
let nonce = base64::engine::general_purpose::URL_SAFE_NO_PAD.encode(nonce);
let body = DOCUMENT
.replace("__RESPONSE_RUNTIME__", RESPONSE_RUNTIME)
.replace("__RUNTIME__", RUNTIME)
.replace("__NONCE__", &nonce)
.replace("__HOST__", host)
@@ -70,6 +71,7 @@ pub(crate) fn render(
}
const DOCUMENT: &str = include_str!("bridge/document.html");
const RESPONSE_RUNTIME: &str = include_str!("bridge/response.js");
const RUNTIME: &str = include_str!("bridge/runtime.js");
// Rendered wire-contract tests remain separate from the embedded document.