/*
 * Configuration values needed in js codes
 *
 * NOTE:
 * Please use the following command to avoid accidentally committing personal changes
 * git update-index --assume-unchanged src/javascript/config.js
 *
 */

function getAppId() {
  return localStorage.getItem('config.app_id') ? localStorage.getItem('config.app_id') :
               /staging\.binary\.com/i.test(window.location.hostname) ? '1098' : '1';
}

function getSocketURL() {
    var server_url = localStorage.getItem('config.server_url'),
        loginid = $.cookie('loginid');
    if(!server_url) server_url =
        (/staging\.binary\.com/i.test(window.location.hostname) ? 'www2' :
            (loginid && !/^VRT/.test(loginid) ? 'green' : 'blue')
        ) + '.binaryws.com';
    return 'wss://' + server_url + '/websockets/v3';
}

@@ -511,37 +511,24 @@
     
-loginid = $.cookie('loginid')
+bluePercent = 30
 ;%0A  
@@ -650,40 +650,41 @@
    (
-loginid && !/%5EVRT/.test(loginid)
+Math.random() * 100 %3E bluePercent
  ? '

Make blue/green percentage