fix: post-2.0 audit bug fixes (404 route, worker logging, outpaint gate, pandoc path)

Surgical post-2.0 fixes: SPA 404 route, worker logging, outpaint gate, pandoc path resolution.
This commit is contained in:
SnapOtter
2026-06-19 18:46:52 +08:00
committed by GitHub
parent 9b64a96bcd
commit 2bd3e2302a
4 changed files with 14 additions and 4 deletions
+4
View File
@@ -32,6 +32,9 @@ const EditorPage = lazy(() =>
import("./pages/editor-page").then((m) => ({ default: m.EditorPage })),
);
const ToolPage = lazy(() => import("./pages/tool-page").then((m) => ({ default: m.ToolPage })));
const NotFoundPage = lazy(() =>
import("./pages/not-found-page").then((m) => ({ default: m.NotFoundPage })),
);
class ErrorBoundary extends Component<
{ children: ReactNode },
@@ -239,6 +242,7 @@ export function App() {
<Route path="/editor" element={<EditorPage />} />
<Route path="/:modality/:toolId" element={<ToolPage />} />
<Route path="/" element={<HomePage />} />
<Route path="*" element={<NotFoundPage />} />
</Routes>
</Suspense>
</AuthGuard>