Added 404 page

This commit is contained in:
Frikky
2024-12-02 18:35:28 +01:00
parent 022c3ae552
commit d936cc0b35
8 changed files with 307 additions and 121 deletions
+10 -1
View File
@@ -49,6 +49,7 @@ import MFASetUp from './components/MFASetUP.jsx';
import ApiExplorerWrapper from './views/ApiExplorerWrapper.jsx';
import LeftSideBar from './components/LeftSideBar.jsx';
import CodeWorkflow from './views/CodeWorkflow.jsx';
import NotFound from './views/404.jsx';
import { ToastContainer, toast } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
@@ -679,7 +680,15 @@ const App = (message, props) => {
/>
}
/>
</Routes>
<Route
exact
path="/*"
element={
<NotFound />
}
/>
</Routes>
</div>
return (