Showing
1 changed file
with
4 additions
and
4 deletions
@@ -77,13 +77,13 @@ class UserController extends Context { | @@ -77,13 +77,13 @@ class UserController extends Context { | ||
77 | shopsFeDomain: 'http://shops.yohobuy.com' | 77 | shopsFeDomain: 'http://shops.yohobuy.com' |
78 | }; | 78 | }; |
79 | 79 | ||
80 | - if (global.env.Production) { | 80 | + if (global.env.Gray) { |
81 | Object.assign(config, { | 81 | Object.assign(config, { |
82 | - shopsFeDomain: 'http://shops.yohobuy.com' | 82 | + shopsFeDomain: 'http://shops.yohops.com' |
83 | }); | 83 | }); |
84 | - } else if (global.env.Gray) { | 84 | + } else if (global.env.Production) { |
85 | Object.assign(config, { | 85 | Object.assign(config, { |
86 | - shopsFeDomain: 'http://shops.yohops.com' | 86 | + shopsFeDomain: 'http://shops.yohobuy.com' |
87 | }); | 87 | }); |
88 | } | 88 | } |
89 | res.json(config); | 89 | res.json(config); |
-
Please register or login to post a comment