Commit 32a677a 1 parent 4b95ee0 commit 32a677a Copy full SHA for 32a677a
File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,10 @@ const DigitInfo = (() => {
246
246
} ;
247
247
248
248
const updateChart = async ( tick ) => {
249
+ if ( typeof chart === 'undefined' ) {
250
+ return ;
251
+ }
252
+
249
253
const decimal_places = await Symbols . getUnderlyingPipSize ( tick . tick . symbol ) ;
250
254
if ( stream_id ) {
251
255
if ( chart . series [ 0 ] . name === tick . tick . symbol ) {
Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ const getSocketURL = () => {
106
106
107
107
const loginid = window . localStorage . getItem ( 'active_loginid' ) ;
108
108
const is_real = loginid && ! / ^ V R T / . test ( loginid ) ;
109
- const server = isProduction ( ) && is_real ? 'green' : 'red' ;
109
+ const real_server = is_real ? 'green' : 'blue' ;
110
+ const server = isProduction ( ) ? real_server : 'red' ;
110
111
111
112
server_url = `${ server } .derivws.com` ;
112
113
}
You can’t perform that action at this time.
0 commit comments