diff --git a/index.js b/index.js index 29124132..a0f0d361 100644 --- a/index.js +++ b/index.js @@ -491,7 +491,7 @@ module.exports = { url: { priority: priority, changefreq: 'daily', - loc: url, + loc: self.apos.baseUrl ? url : (self.baseUrl || "") + url, workflowGuid: page.workflowGuid, workflowLocale: locale }