From d44845ed20c8f6d4cb66802ed669e489794206ee Mon Sep 17 00:00:00 2001 From: supertiger1234 Date: Sat, 20 Apr 2019 10:58:50 +0100 Subject: [PATCH] removed config file --- src/config.js | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/config.js diff --git a/src/config.js b/src/config.js deleted file mode 100644 index 30c4c84..0000000 --- a/src/config.js +++ /dev/null @@ -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; \ No newline at end of file