diff --git a/lib/services/publish.js b/lib/services/publish.js index 8c47fac2..91dc71e4 100644 --- a/lib/services/publish.js +++ b/lib/services/publish.js @@ -86,7 +86,7 @@ function _checkForUrlProperty(uri, { url, customUrl }) { return bluebird.reject(new Error('Page does not have a `url` or `customUrl` property set')); } - return bluebird.resolve(customUrl || url); + return bluebird.resolve(url || customUrl); } /**