implement nat & ddns page (#5)

This commit is contained in:
UUBulb
2024-11-19 14:55:21 +08:00
committed by GitHub
parent fc923f3ab1
commit 37a121559f
12 changed files with 974 additions and 7 deletions

View File

@@ -15,6 +15,8 @@ import ServerPage from './routes/server';
import ServicePage from './routes/service';
import { AuthProvider } from './hooks/useAuth';
import { TerminalPage } from './components/terminal';
import DDNSPage from './routes/ddns';
import NATPage from './routes/nat';
const router = createBrowserRouter([
{
@@ -34,6 +36,14 @@ const router = createBrowserRouter([
path: "/dashboard/service",
element: <ServicePage />,
},
{
path: "/dashboard/ddns",
element: <DDNSPage />,
},
{
path: "/dashboard/nat",
element: <NATPage />,
},
{
path: "/dashboard/terminal/:id",
element: <TerminalPage />,