Add /_stats endpoint
Also, remove ingest_stats worker and use the cache instead.
This commit is contained in:
@ -1,20 +1,10 @@
|
||||
import React from 'react'
|
||||
import { HashRouter as Router, Switch, Route } from 'react-router-dom'
|
||||
import { HashRouter } from 'react-router-dom'
|
||||
import Layout from './Layout'
|
||||
import About from './About'
|
||||
import Stats from './Stats'
|
||||
import Home from './Home'
|
||||
|
||||
const App = () => (
|
||||
<Router>
|
||||
<Layout>
|
||||
<Switch>
|
||||
<Route path="/stats" component={Stats}/>
|
||||
<Route path="/about" component={About}/>
|
||||
<Route path="/" component={Home}/>
|
||||
</Switch>
|
||||
</Layout>
|
||||
</Router>
|
||||
)
|
||||
const App = () =>
|
||||
<HashRouter>
|
||||
<Layout/>
|
||||
</HashRouter>
|
||||
|
||||
export default App
|
||||
|
Reference in New Issue
Block a user