mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-09-21 02:30:15 +00:00
fix: pageNotFound
This commit is contained in:
@@ -4,6 +4,7 @@ import Header from "./components/Header";
|
||||
import Footer from "./components/Footer";
|
||||
import Server from "./pages/Server";
|
||||
import ServerDetail from "./pages/ServerDetail";
|
||||
import NotFound from "./pages/NotFound";
|
||||
|
||||
const App: React.FC = () => {
|
||||
return (
|
||||
@@ -14,6 +15,7 @@ const App: React.FC = () => {
|
||||
<Routes>
|
||||
<Route path="/" element={<Server />} />
|
||||
<Route path="/server/:id" element={<ServerDetail />} />
|
||||
<Route path="*" element={<NotFound />} />
|
||||
</Routes>
|
||||
<Footer />
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user