Skip to content

Commit

Permalink
fix: var not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Mar 28, 2017
1 parent 641180f commit 397a0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/middlewares/website.js
Expand Up @@ -16,7 +16,7 @@ var middleware = function(req, res, next) {
res.redirect('/abe')
} else if (req.originalUrl.indexOf('.' + config.files.templates.extension) > -1) {

html = ''
var html = ''

var page = path.join(config.root, config.publish.url, req.originalUrl)
if (coreUtils.file.exist(page)) {
Expand Down

0 comments on commit 397a0db

Please sign in to comment.