3 ms·
Looks like you need to update some of your client side JS to set the proper environment: /** * Sets a variable, given our current domain. If we're running
by mathrawka 14y ago
Looks like you need to update some of your client side JS to set the proper environment:
/**
* Sets a variable, given our current domain. If we're running on a dev
* environment, it stays out of the hash and falls to dev.
*/
mg_.env = {
'staging.mygengo.com': 'staging',
'qa.mygengo.com': 'qa',
'mygengo.com': 'production'
}[window.location.host];
if(typeof mg_.env === 'undefined') mg_.env = 'dev';
- gballester 14y agoThanks!