New dedicated Certificates page in Wild Central UI showing: - All tracked certs (central, wildcard, per-service) - Status (valid with days remaining, or missing) - Per-domain Provision button - Renew All button Cert provisioning is now user-initiated only — reconciliation logs warnings about missing certs but does NOT auto-provision. This prevents unexpected wildcard cert requests on startup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
44 lines
1.5 KiB
TypeScript
44 lines
1.5 KiB
TypeScript
import { Navigate } from 'react-router';
|
|
import type { RouteObject } from 'react-router';
|
|
import { CentralLayout } from './CentralLayout';
|
|
import { NotFoundPage } from './pages/NotFoundPage';
|
|
import { CentralPage } from './pages/CentralPage';
|
|
import { DhcpPage } from './pages/DhcpPage';
|
|
import { FirewallPage } from './pages/FirewallPage';
|
|
import { IngressProxyPage } from './pages/IngressProxyPage';
|
|
import { DnsPage } from './pages/DnsPage';
|
|
import { CrowdSecPage } from './pages/CrowdSecPage';
|
|
import { VpnPage } from './pages/VpnPage';
|
|
import { CloudflarePage } from './pages/CloudflarePage';
|
|
import { CertificatesPage } from './pages/CertificatesPage';
|
|
import { DdnsPage } from './pages/DdnsPage';
|
|
import { LanDnsPage } from './pages/LanDnsPage';
|
|
|
|
export const routes: RouteObject[] = [
|
|
{
|
|
path: '/',
|
|
element: <Navigate to="/central" replace />,
|
|
},
|
|
{
|
|
path: '/central',
|
|
element: <CentralLayout />,
|
|
children: [
|
|
{ index: true, element: <CentralPage /> },
|
|
{ path: 'cloudflare', element: <CloudflarePage /> },
|
|
{ path: 'firewall', element: <FirewallPage /> },
|
|
{ path: 'dhcp', element: <DhcpPage /> },
|
|
{ path: 'crowdsec', element: <CrowdSecPage /> },
|
|
{ path: 'ingress', element: <IngressProxyPage /> },
|
|
{ path: 'dns', element: <DnsPage /> },
|
|
{ path: 'ddns', element: <DdnsPage /> },
|
|
{ path: 'lan-dns', element: <LanDnsPage /> },
|
|
{ path: 'vpn', element: <VpnPage /> },
|
|
{ path: 'certificates', element: <CertificatesPage /> },
|
|
],
|
|
},
|
|
{
|
|
path: '*',
|
|
element: <NotFoundPage />,
|
|
},
|
|
];
|