forked from p15670423/monkey
fix fetch call
This commit is contained in:
parent
8523075494
commit
06f9153976
|
@ -12,7 +12,7 @@ class VersionComponent extends React.Component {
|
|||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.fetch('/api/version-update') // This is not authenticated on purpose
|
||||
fetch('/api/version-update') // This is not authenticated on purpose
|
||||
.then(res => res.json())
|
||||
.then(res => {
|
||||
this.setState({
|
||||
|
|
Loading…
Reference in New Issue