old_contents: module.exports = {
    title : 'Beer Matchmaker',
    clientId : process.env.CLIENT_ID,
    clientSecret : process.env.CLIENT_SECRET,
    instrumentation : true,
    host : process.env.OPENSHIFT_NODEJS_IP || '127.0.0.1',
    port : process.env.OPENSHIFT_NODEJS_PORT || 3000,
    publicHost : (typeof process.env.OPENSHIFT_NODEJS_IP === 'undefined') ?  '127.0.0.1' : 'http://http://beermatchmaker-cianclarke.rhcloud.com',
    publicPort : (typeof process.env.OPENSHIFT_NODEJS_PORT === 'undefined') ?  '3000' : '80',
    mode : (process.env.OPENSHIFT_NODEJS_IP === 'undefined') ? 'dev' : 'production',
    redirectUrl : function(){
      return 'https://untappd.com/oauth/authenticate/?client_id=' + this.clientId + '&response_type=code&redirect_url=http://' + this.publicHost + ':' + this.publicPort +'/oauth/callback';
    },
    footer : function(){
      return this.title + " is created by <a href=\"http://www.cianclarke.com\">Cian Clarke</a>, and is in no way affiliated with Untappd. " +
      "The source is <a href=\"http://www.github.com/cianclarke/beermatchmaker\">on GitHub</a> - report bugs <a href=\"https://github.com/cianclarke/beer-matchmaker/issues\">here</a>.<br />" +
      this.title + " requires access to your Untappd Account. We won't do anything nasty like post to your feed, or recommend an AA meeting - promise.";
      
    }
  };
  
new_contents: module.exports = {
    title : 'Beer Matchmaker',
    clientId : process.env.CLIENT_ID,
    clientSecret : process.env.CLIENT_SECRET,
    instrumentation : true,
    host : process.env.OPENSHIFT_NODEJS_IP || '127.0.0.1',
    port : process.env.OPENSHIFT_NODEJS_PORT || 3000,
    publicHost : (typeof process.env.OPENSHIFT_NODEJS_IP === 'undefined') ?  '127.0.0.1' : 'http://beermatchmaker-cianclarke.rhcloud.com',
    publicPort : (typeof process.env.OPENSHIFT_NODEJS_PORT === 'undefined') ?  '3000' : '80',
    mode : (process.env.OPENSHIFT_NODEJS_IP === 'undefined') ? 'dev' : 'production',
    redirectUrl : function(){
      return 'https://untappd.com/oauth/authenticate/?client_id=' + this.clientId + '&response_type=code&redirect_url=http://' + this.publicHost + ':' + this.publicPort +'/oauth/callback';
    },
    footer : function(){
      return this.title + " is created by <a href=\"http://www.cianclarke.com\">Cian Clarke</a>, and is in no way affiliated with Untappd. " +
      "The source is <a href=\"http://www.github.com/cianclarke/beermatchmaker\">on GitHub</a> - report bugs <a href=\"https://github.com/cianclarke/beer-matchmaker/issues\">here</a>.<br />" +
      this.title + " requires access to your Untappd Account. We won't do anything nasty like post to your feed, or recommend an AA meeting - promise.";
      
    }
  };
  
subject: fix pub url