Fetch Articles from JSON blob
This commit is contained in:
parent
1554308f8a
commit
0968c22cf6
2 changed files with 79 additions and 22 deletions
|
|
@ -38,7 +38,7 @@ class App extends Component {
|
|||
|
||||
{ /* Article routes */ }
|
||||
<Route path="/page/:page" component={Articles} />
|
||||
<Route path="/:year/:month/:title.html" component={RoutedArticle} />
|
||||
<Route path="/:year/:month/:title" component={RoutedArticle} />
|
||||
|
||||
{ /* 404 fallback */ }
|
||||
<Route component={FourOhFour} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue