|
@@ -1,13 +1,20 @@
|
|
|
-const envDomain = {
|
|
|
- // apiDomain: 'https://shining.codedreamit.com',
|
|
|
- // h5Domain: 'https://shining-h5.codedreamit.com',
|
|
|
- // vrDomain: 'https://shining-h5-1.codedreamit.com'
|
|
|
- // ---------------华丽的分割线---------------
|
|
|
+// 测试环境
|
|
|
+const devDomain = {
|
|
|
+ apiDomain: 'https://shining.codedreamit.com',
|
|
|
+ h5Domain: 'https://shining-h5.codedreamit.com',
|
|
|
+ vrDomain: 'https://shining-h5-1.codedreamit.com'
|
|
|
+}
|
|
|
+
|
|
|
+// 生产环境
|
|
|
+const prodDomain = {
|
|
|
apiDomain: 'https://shining-api.chazhujianghu.com',
|
|
|
h5Domain: 'https://shining-h5.chazhujianghu.com',
|
|
|
vrDomain: 'https://shining-h5-1.chazhujianghu.com'
|
|
|
}
|
|
|
|
|
|
module.exports = {
|
|
|
- envDomain
|
|
|
+ envDomain: {
|
|
|
+ // ...devDomain
|
|
|
+ ...prodDomain
|
|
|
+ }
|
|
|
}
|