fix: service block page

This commit is contained in:
hamster1963
2024-12-03 14:20:17 +08:00
parent eb6612e27e
commit 3f87876a3c
4 changed files with 49 additions and 9 deletions

View File

@@ -5,6 +5,7 @@ import Footer from "./components/Footer";
import Server from "./pages/Server";
import ServerDetail from "./pages/ServerDetail";
import NotFound from "./pages/NotFound";
import ErrorPage from "./pages/ErrorPage";
const App: React.FC = () => {
return (
@@ -15,6 +16,7 @@ const App: React.FC = () => {
<Routes>
<Route path="/" element={<Server />} />
<Route path="/server/:id" element={<ServerDetail />} />
<Route path="/error" element={<ErrorPage />} />
<Route path="*" element={<NotFound />} />
</Routes>
<Footer />