diff --git a/monkey/monkey_island/cc/resources/version_update.py b/monkey/monkey_island/cc/resources/version_update.py index a2cd6abf6..8ec56abed 100644 --- a/monkey/monkey_island/cc/resources/version_update.py +++ b/monkey/monkey_island/cc/resources/version_update.py @@ -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__() diff --git a/monkey/monkey_island/cc/ui/src/components/logo/VersionComponent.js b/monkey/monkey_island/cc/ui/src/components/logo/VersionComponent.js index cc0aea203..26733d579 100644 --- a/monkey/monkey_island/cc/ui/src/components/logo/VersionComponent.js +++ b/monkey/monkey_island/cc/ui/src/components/logo/VersionComponent.js @@ -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({