use config.adminFqdn instead

This commit is contained in:
Girish Ramakrishnan
2016-04-19 01:08:59 -07:00
parent 0789c96992
commit 46fee9e431
+1 -1
View File
@@ -257,7 +257,7 @@ function setAdminCertificate(cert, key, callback) {
assert.strictEqual(typeof key, 'string');
assert.strictEqual(typeof callback, 'function');
var vhost = config.appFqdn(constants.ADMIN_LOCATION);
var vhost = config.adminFqdn();
var certFilePath = path.join(paths.APP_CERTS_DIR, vhost + '.cert');
var keyFilePath = path.join(paths.APP_CERTS_DIR, vhost + '.key');