update sockety api urls

This commit is contained in:
Baltazar Gomez 2021-07-30 15:52:02 -05:00 committed by jessopb
parent 4c87ec9dcb
commit 79e39da47f

View file

@ -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 = {};