diff --git a/app/models/blog/extend.js b/app/models/blog/extend.js index 55c1255ceea..8f31505a094 100644 --- a/app/models/blog/extend.js +++ b/app/models/blog/extend.js @@ -49,6 +49,8 @@ module.exports = function extend(blog) { blog.pretty.domain = punycode.toUnicode(blog.domain); } + // Based on the code in app/local.js this overwrites + // the blog's URL when the simple local server is run if (config.host === 'localhost') { blog.url = 'http://localhost:8081'; blog.pretty.url = 'localhost:8081';