Hacker News new | ask | show | jobs
by mathrawka 5100 days 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';
1 comments

Thanks!