aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-07 22:35:09 +0100
committertv <tv@krebsco.de>2026-11-07 22:35:09 +0100
commit1458ea92a41788a0f33e86e621817613f46055eb (patch)
tree8cbe202657c5f9eb006b9612d9dfa0a4b829d589 /src/simtest/mod.rs
parentaea80cf1bfa39f17dbbd0b4782a71fca81e09f74 (diff)
dashboard: own links over the API, and CORS
GET /admin/dashboard/links/own and its event stream: a node's own links, as LINKS_REPLY carried them, for other members' dashboards with a token. CORS for the members' dashboard origins and --cors-origins, without credentials. Auth plan M3.
Diffstat (limited to 'src/simtest/mod.rs')
-rw-r--r--src/simtest/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simtest/mod.rs b/src/simtest/mod.rs
index c68fe57..118ec9d 100644
--- a/src/simtest/mod.rs
+++ b/src/simtest/mod.rs
@@ -216,6 +216,7 @@ impl Sim {
node_key: None,
token_lifetime: Duration::from_secs(3600),
session_lifetime: Duration::from_secs(86400),
+ cors_origins: Vec::new(),
files: Arc::new(Files::default()),
state_file: None,
document_file: None,