File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,15 +13,16 @@ const getAppId = () => {
1313 let app_id = null ;
1414 const user_app_id = '' ; // you can insert Application ID of your registered application here
1515 const config_app_id = window . localStorage . getItem ( 'config.app_id' ) ;
16- window . localStorage . removeItem ( 'config.default_app_id' ) ;
1716 if ( config_app_id ) {
1817 app_id = config_app_id ;
1918 } else if ( / s t a g i n g \. b i n a r y \. c o m / i. test ( window . location . hostname ) ) {
19+ window . localStorage . removeItem ( 'config.default_app_id' ) ;
2020 app_id = 1098 ;
2121 } else if ( user_app_id . length ) {
2222 window . localStorage . setItem ( 'config.default_app_id' , user_app_id ) ; // it's being used in endpoint chrome extension - please do not remove
2323 app_id = user_app_id ;
2424 } else {
25+ window . localStorage . removeItem ( 'config.default_app_id' ) ;
2526 app_id = 1 ;
2627 }
2728 return app_id ;
You can’t perform that action at this time.
0 commit comments