Add networking options for configuring listening ports (#21779)

This commit is contained in:
Eric Work authored and Nicolas Mowen committed 2026-02-26 21:27:56 -07:00
1 parent a4362caa0a
commit 2db0269825
18 files changed
+200 -130

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ export default function ProtectedRoute({
return <Outlet />;
}
// Authenticated mode (8971): require login
// Authenticated mode (external port): require login
if (!auth.user) {
return (
<ActivityIndicator className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2" />
+1 -1
View File
@@ -12,7 +12,7 @@ export function useAllowedCameras() {
if (
auth.user?.role === "viewer" ||
auth.user?.role === "admin" ||
!auth.isAuthenticated // anonymous port 5000
!auth.isAuthenticated // anonymous internal port
) {
// return all cameras
return config?.cameras ? Object.keys(config.cameras) : [];