Island: Rename `api/version-update` to `api/island/version`
This commit is contained in:
parent
759de2a055
commit
3dbc892cb9
|
@ -8,8 +8,7 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
|
||||
class VersionUpdate(AbstractResource):
|
||||
# API Spec: Rename to /version-info
|
||||
urls = ["/api/version-update"]
|
||||
urls = ["/api/island/version"]
|
||||
|
||||
def __init__(self):
|
||||
super(VersionUpdate, self).__init__()
|
||||
|
|
|
@ -14,7 +14,7 @@ class VersionComponent extends React.Component {
|
|||
}
|
||||
|
||||
componentDidMount() {
|
||||
fetch('/api/version-update') // This is not authenticated on purpose
|
||||
fetch('/api/island/version') // This is not authenticated on purpose
|
||||
.then(res => res.json())
|
||||
.then(res => {
|
||||
this.setState({
|
||||
|
|
Loading…
Reference in New Issue