Removed auth

Doesn't really need user account, no sensitive data held in DB, plus routes that do stuff are rate limited anyway.

Shouldn't be accessible to untrusted users (i.e. should be behind a RP that handles user auth)
This commit is contained in:
Henry Whitaker
2020-04-08 19:45:20 +01:00
parent bff43c205c
commit 4f79645191
6 changed files with 28 additions and 243 deletions

View File

@@ -5,22 +5,13 @@ import LatestResults from '../Graphics/LatestResults';
import Footer from './Footer';
export default class HomePage extends Component {
constructor(props) {
super(props)
this.state = {
token: this.props.token,
}
}
render() {
var token = this.state.token;
return (
<div>
<div className="my-4">
<LatestResults token={token} />
<HistoryGraph token={token} />
<LatestResults />
<HistoryGraph />
</div>
<Footer />
</div>