feature: support serving from subpath (#33)

Co-authored-by: Karthik T <karthikt.holmes+github@gmail.com>
This commit is contained in:
Henry Dollman
2025-02-04 21:22:40 -05:00
parent ce171cf375
commit 58085bf300
17 changed files with 118 additions and 54 deletions

View File

@@ -63,9 +63,9 @@ const App = () => {
if (!page) {
return <h1 className="text-3xl text-center my-14">404</h1>
} else if (page.path === "/") {
} else if (page.route === "home") {
return <Home />
} else if (page.route === "server") {
} else if (page.route === "system") {
return <SystemDetail name={page.params.name} />
} else if (page.route === "settings") {
return (