Refactor all app.location usages to config.appFqdn(app)

This commit is contained in:
Johannes Zellner
2017-11-09 23:08:22 +01:00
parent 1dfa689d1c
commit e43e904622
8 changed files with 16 additions and 13 deletions

View File

@@ -892,7 +892,7 @@ function refreshDNS(callback) {
// do not change state of installing apps since apptask will error if dns record already exists
if (app.installationState !== appdb.ISTATE_INSTALLED) return callback();
domains.upsertDNSRecords(app.location, 'A', [ ip ], callback);
domains.upsertDNSRecords(config.appFqdn(app), 'A', [ ip ], callback);
}, function (error) {
if (error) return callback(error);