From 8391a6df59d566ffd7de01560c262d1afdd8d43d Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 7 Nov 2026 22:35:09 +0100 Subject: dashboard: subscribed nodes' messages in the console Each tick's messages of a subscribed node, listed in the console with this node's own, from its own stream. Auth plan M3 (live data from every reachable node). --- src/api/cors.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/api/cors.rs') diff --git a/src/api/cors.rs b/src/api/cors.rs index 2d5fdc3..406b7be 100644 --- a/src/api/cors.rs +++ b/src/api/cors.rs @@ -1,6 +1,6 @@ //! Pages of other origins reading this node: the dashboards of other members, which a -//! page subscribes to for their own links and traffic (`/admin/dashboard/links/own`, -//! `/admin/dashboard/traffic/own/events`), refreshing its +//! page subscribes to for their own links and messages (`/admin/dashboard/links/own`, +//! `/admin/dashboard/messages/own/events`), refreshing its //! token on any node (`/auth/refresh`, `/auth/whoami`). Only those endpoints, only for //! the origins of the dashboards the member list names and those of `--cors-origins`, //! and without credentials: a page sends its token itself (`Authorization: Bearer`), @@ -22,7 +22,7 @@ fn open(path: &str) -> bool { path, "/admin/dashboard/links/own" | "/admin/dashboard/links/own/events" - | "/admin/dashboard/traffic/own/events" + | "/admin/dashboard/messages/own/events" | "/auth/refresh" | "/auth/whoami" ) -- cgit v1.3.1