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

Commit 7a872fa

Browse files
author
Saulo Vallory
committed
Fix bug in foot.jade which tries to assign host instead of comparing it
1 parent dbe7213 commit 7a872fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/includes/foot.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ script(type='text/javascript', src='/js/controllers/index.js')
2424
script(type='text/javascript', src='/js/controllers/header.js')
2525
script(type='text/javascript', src='/js/init.js')
2626

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

0 commit comments

Comments
 (0)