mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-24 17:11:43 +00:00
removed config file
This commit is contained in:
parent
e6e8afaa52
commit
d44845ed20
1 changed files with 0 additions and 38 deletions
|
|
@ -1,38 +0,0 @@
|
||||||
const config = {
|
|
||||||
devMode:true,
|
|
||||||
breeMode: false,
|
|
||||||
recaptcha: "",
|
|
||||||
IP: [
|
|
||||||
{
|
|
||||||
domain: "http://api.localhost",
|
|
||||||
socketIP: "localhost"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
domain: "https://api.supertiger.tk",
|
|
||||||
socketIP: "https://nertivia.supertiger.tk"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
if (window.webpackHotUpdate) {
|
|
||||||
config.devMode = true;
|
|
||||||
} else {
|
|
||||||
config.devMode = false
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( config.devMode ) {
|
|
||||||
config.recaptcha = "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI";
|
|
||||||
config['domain'] = config.IP[0].domain;
|
|
||||||
config['socketIP'] = config.IP[0].socketIP;
|
|
||||||
|
|
||||||
if( config.breeMode ) {
|
|
||||||
config['domain'] = config.IP[1].domain;
|
|
||||||
config['socketIP'] = config.IP[1].socketIP;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
config.recaptcha = "6Ld0EIwUAAAAALJNTa-1s63l-w_jHyCY6dFAVwKe";
|
|
||||||
config['domain'] = config.IP[1].domain;
|
|
||||||
config['socketIP'] = config.IP[1].socketIP;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default config;
|
|
||||||
Loading…
Reference in a new issue