Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Fix bug in foot.jade which tries to assign host instead of comparing it
Browse files Browse the repository at this point in the history
  • Loading branch information
Saulo Vallory committed Dec 9, 2013
1 parent dbe7213 commit 7a872fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/includes/foot.jade
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ script(type='text/javascript', src='/js/controllers/index.js')
script(type='text/javascript', src='/js/controllers/header.js')
script(type='text/javascript', src='/js/init.js')

if (req.host='localhost')
if ('localhost' == req.host)
//Livereload script rendered
script(type='text/javascript', src='http://localhost:35729/livereload.js')

0 comments on commit 7a872fa

Please sign in to comment.