Skip to content

Commit 5d326be

Browse files
committed
Update socket auth and profile routes
1 parent 9caff4c commit 5d326be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

static/js/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ export function fetchUserProfile() {
683683
dispatch,
684684
FETCH_USER_PROFILE,
685685

686-
fetch('/profile', {
686+
fetch('/baselayer/profile', {
687687
credentials: 'same-origin'
688688
})
689689
.then(response => response.json())

static/js/components/Main.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ class MainContent extends React.Component {
299299
>
300300
<WebSocket
301301
url={`ws://${this.props.root}websocket`}
302-
auth_url={`${location.protocol}//${this.props.root}socket_auth_token`}
302+
auth_url={`${location.protocol}//${this.props.root}baselayer/socket_auth_token`}
303303
messageHandler={messageHandler}
304304
dispatch={store.dispatch}
305305
/>

0 commit comments

Comments
 (0)