Revert "Show dedicated Notfound page for invalid routes (#2070)"

This reverts commit ae8f3ee346cb8a3acf6637f501f8e6b68456082c.
This commit is contained in:
Eduard Heimbuch
2022-06-28 13:13:11 +02:00
parent b0b2375f78
commit 1240905008
6 changed files with 3 additions and 46 deletions

View File

@@ -36,10 +36,8 @@ import ChangesetShortLink from "./repos/components/changesets/ChangesetShortLink
import "./tokenExpired";
import { ApiProvider } from "@scm-manager/ui-api";
import NotFoundPage from "./containers/NotFoundPage";
binder.bind<extensionPoints.ChangesetDescriptionTokens>("changeset.description.tokens", ChangesetShortLink);
binder.bind<extensionPoints.MainRoute>("main.route", NotFoundPage, { priority: -1 });
const root = document.getElementById("root");
if (!root) {