update sockety api urls
This commit is contained in:
parent
4c87ec9dcb
commit
79e39da47f
1 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
||||||
import * as ACTIONS from 'constants/action_types';
|
import * as ACTIONS from 'constants/action_types';
|
||||||
import { getAuthToken } from 'util/saved-passwords';
|
import { getAuthToken } from 'util/saved-passwords';
|
||||||
import { doNotificationList } from 'redux/actions/notifications';
|
import { doNotificationList } from 'redux/actions/notifications';
|
||||||
|
import { SOCKETY_SERVER_API } from 'config';
|
||||||
|
|
||||||
const NOTIFICATION_WS_URL = 'wss://sockety.lbry.com/ws/internal?id=';
|
const NOTIFICATION_WS_URL = `${SOCKETY_SERVER_API}/internal?id=`;
|
||||||
const COMMENT_WS_URL = 'wss://sockety.lbry.com/ws/commentron?id=';
|
const COMMENT_WS_URL = `${SOCKETY_SERVER_API}/commentron?id=`;
|
||||||
|
|
||||||
let sockets = {};
|
let sockets = {};
|
||||||
let closingSockets = {};
|
let closingSockets = {};
|
||||||
|
|
Loading…
Reference in a new issue