Remove config.fqdn() fallback in apptask

This commit is contained in:
Girish Ramakrishnan
2018-01-18 12:06:20 -08:00
parent 0e7ebc9637
commit cfa523f3c1
+1 -2
View File
@@ -511,8 +511,7 @@ function configure(app, callback) {
function (next) {
if (!locationChanged) return next();
// the config.fqdn() fallback can be removed after 1.9
unregisterSubdomain(app, app.oldConfig.location, app.oldConfig.domain || config.fqdn(), next);
unregisterSubdomain(app, app.oldConfig.location, app.oldConfig.domain, next);
},
reserveHttpPort.bind(null, app),