Move /docs endpoint before longer ones so doesn't overtake other doc endpoints

This commit is contained in:
Fabio Berger 2018-09-26 13:35:41 +01:00
parent ce51edcf80
commit 3504e875cc

View File

@ -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