aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-26 20:35:41 +0800
committerFabio Berger <me@fabioberger.com>2018-09-26 20:35:41 +0800
commit3504e875ccd201f623fa8f54f359b67b29b13d6f (patch)
tree1e8c8973030ec21d2248678988de9c01bb3e5917
parentce51edcf80cbecab6f04db4704ddcf21c804f3b0 (diff)
downloaddexon-sol-tools-3504e875ccd201f623fa8f54f359b67b29b13d6f.tar.gz
dexon-sol-tools-3504e875ccd201f623fa8f54f359b67b29b13d6f.tar.zst
dexon-sol-tools-3504e875ccd201f623fa8f54f359b67b29b13d6f.zip
Move /docs endpoint before longer ones so doesn't overtake other doc endpoints
-rw-r--r--packages/website/ts/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx
index 8ed40e69a..e81b1bf07 100644
--- a/packages/website/ts/index.tsx
+++ b/packages/website/ts/index.tsx
@@ -92,7 +92,6 @@ render(
<Route path={WebsitePaths.FAQ} component={FAQ as any} />
<Route path={WebsitePaths.About} component={About as any} />
<Route path={WebsitePaths.Wiki} component={Wiki as any} />
- <Route path={WebsitePaths.Docs} component={DocsHome as any} />
<Route
path={`${WebsitePaths.ZeroExJs}/:version?`}
component={LazyZeroExJSDocumentation}
@@ -138,6 +137,7 @@ render(
path={`${WebsitePaths.EthereumTypes}/:version?`}
component={LazyEthereumTypesDocumentation}
/>
+ <Route path={WebsitePaths.Docs} component={DocsHome as any} />
{/* Legacy endpoints */}
<Route