mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-24 09:01:43 +00:00
added bree dev mode
This commit is contained in:
parent
afa6eee039
commit
7d4df3fd5d
1 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
const config = {
|
const config = {
|
||||||
devMode:true,
|
devMode:true,
|
||||||
|
breeMode: true,
|
||||||
recaptcha: "",
|
recaptcha: "",
|
||||||
IP: [
|
IP: [
|
||||||
{
|
{
|
||||||
|
|
@ -23,6 +24,11 @@ if ( config.devMode ) {
|
||||||
config.recaptcha = "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI";
|
config.recaptcha = "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI";
|
||||||
config['domain'] = config.IP[0].domain;
|
config['domain'] = config.IP[0].domain;
|
||||||
config['socketIP'] = config.IP[0].socketIP;
|
config['socketIP'] = config.IP[0].socketIP;
|
||||||
|
|
||||||
|
if( config.breeMode ) {
|
||||||
|
config['domain'] = config.IP[1].domain;
|
||||||
|
config['socketIP'] = config.IP[1].socketIP;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
config.recaptcha = "6Ld0EIwUAAAAALJNTa-1s63l-w_jHyCY6dFAVwKe";
|
config.recaptcha = "6Ld0EIwUAAAAALJNTa-1s63l-w_jHyCY6dFAVwKe";
|
||||||
config['domain'] = config.IP[1].domain;
|
config['domain'] = config.IP[1].domain;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue