Skip to content

Commit

Permalink
Comments blog.extend
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Jun 9, 2021
1 parent 30c52ad commit be320f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/blog/extend.js
Expand Up @@ -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';
Expand Down

0 comments on commit be320f7

Please sign in to comment.