lib/domains.js
function add(appName, domain, callback) {
    commons.post(format('/%s/apps/%s/domains/', deis.version, appName), {
      domain: domain.toString()
    }, callback);
  }
function add(appName, domain, callback) {
    commons.post(format('/%s/apps/%s/domains/', deis.version, appName), {
      domain: domain.toString()
    }, callback);
  }
function add ( appName , domain , callback ) { commons . post ( format ( '/%s/apps/%s/domains/' , deis . version , appName ) , { domain : domain . toString ( ) } , callback ) ; }
Add a domain to an app registered with the Deis controller.
Add a domain to an app registered with the Deis controller .