var debug = {};
var logs = [];
var isElectron = true;

//debug.isDevMode = true;
//debug.disableIOMP = true;

if (debug.isDevMode)
{
  window.parseAppID = "3cITggLLaNA0spOniidoxS2tjZoCDSwacDg6otSS"
  window.parseJSKey = "EC3RM1Cr2gkLGOStA0xDYLQBhIP4XMalcJPQIKlz"
  window.parseliveQueryURL = "wss://tce-dev.back4app.io"
  window.helperURL = "http://localhost:3456"
  Parse.serverURL = 'https://tce-dev.back4app.io'
  window.parseProxyURL = 'http://localhost:3456/back4app-proxy'

  /* for running a local parse server
  window.parseAppID = "tce-parse-local"
  window.parseJSKey = "EC3RM1Cr2gkLGOStA0xDYLQBhIP4XMalcJPQIKlz"
  window.parseliveQueryURL = "wss://tce-dev.back4app.io"
  window.helperURL = "http://localhost:3456"
  Parse.serverURL = 'http://localhost:1337/parse'*/
}
else
{
  window.parseAppID = "6feFjZBsA5pAjt8NY0RtWWQYpMuJDAjioRbnyAXZ"
  window.parseJSKey = "l41V96g7QnIQD59pdTLJ1MjTJGwmZkomcMqbhOVl"
  window.parseliveQueryURL = "wss://tce.back4app.io"
  window.helperURL = "https://ce-rivals-server.j.layershift.co.uk"
  Parse.serverURL = 'https://tce.back4app.io'
  window.parseProxyURL = 'https://ce-rivals-server.j.layershift.co.uk/back4app-proxy'
}

Parse.initialize(window.parseAppID, window.parseJSKey);