+
} onClick={() => {
+ refresh();
+ }}>Refresh
+
} onClick={() => {
+ routes.push({
+ Name: 'New Route',
+ Description: 'New Route',
+ UseHost: false,
+ Host: '',
+ UsePathPrefix: false,
+ PathPrefix: '',
+ Timeout: 30000,
+ ThrottlePerMinute: 100,
+ CORSOrigin: '',
+ StripPathPrefix: false,
+ Static: false,
+ SPAMode: false,
+ });
+ updateRoutes(routes);
+ }}>Create
+
+
+
+ {config && <>
+
+ {routes && routes.map((route,key) => (<>
+
{
+ routes[key] = newRoute;
+ }}
+ up={() => up(key)}
+ down={() => down(key)}
+ deleteRoute={() => deleteRoute(key)}
+ />
+
+ >))}
+
+ {routes &&
+
+ {error && (
+
+ {error}
+
+ )}
+
+
+
+
+
+
+ }
+ {!routes && <>
+
+ No routes configured.
+
+ >
+ }
+ >}
+ ;
+}
+
+export default ProxyManagement;
\ No newline at end of file
diff --git a/client/src/pages/config/users/restart.jsx b/client/src/pages/config/users/restart.jsx
new file mode 100644
index 0000000..f2395e0
--- /dev/null
+++ b/client/src/pages/config/users/restart.jsx
@@ -0,0 +1,52 @@
+// material-ui
+import * as React from 'react';
+import { Button, Typography } from '@mui/material';
+import { WarningOutlined, PlusCircleOutlined, CopyOutlined, ExclamationCircleOutlined , SyncOutlined, UserOutlined, KeyOutlined } from '@ant-design/icons';
+import Table from '@mui/material/Table';
+import TableBody from '@mui/material/TableBody';
+import TableCell from '@mui/material/TableCell';
+import TableContainer from '@mui/material/TableContainer';
+import TableHead from '@mui/material/TableHead';
+import TableRow from '@mui/material/TableRow';
+import Paper from '@mui/material/Paper';
+import Dialog from '@mui/material/Dialog';
+import DialogActions from '@mui/material/DialogActions';
+import DialogContent from '@mui/material/DialogContent';
+import DialogContentText from '@mui/material/DialogContentText';
+import DialogTitle from '@mui/material/DialogTitle';
+import TextField from '@mui/material/TextField';
+import CircularProgress from '@mui/material/CircularProgress';
+import Chip from '@mui/material/Chip';
+import IconButton from '@mui/material/IconButton';
+import * as API from '../../../api';
+import MainCard from '../../../components/MainCard';
+import isLoggedIn from '../../../isLoggedIn';
+import { useEffect, useState } from 'react';
+
+const RestartModal = ({openModal, setOpenModal}) => {
+ return <>
+