feat: stream summary init

This commit is contained in:
2023-11-15 10:35:27 +00:00
parent 080955532c
commit ee2cd4bb4d
6 changed files with 573 additions and 6 deletions

View File

@ -25,6 +25,7 @@ import { IntlProvider } from "intl";
import { WidgetsPage } from "pages/widgets";
import { AlertsPage } from "pages/alerts";
import { unixNowMs } from "@snort/shared";
import { StreamSummaryPage } from "pages/summary";
export enum StreamState {
Live = "live",
@ -94,6 +95,10 @@ const router = createBrowserRouter([
path: "/widgets",
element: <WidgetsPage />,
},
{
path: "/summary/:id",
element: <StreamSummaryPage />,
},
{
path: "*",
element: <CatchAllRoutePage />,