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

Commit

Permalink
Fixing the Foot.jade to use env var instead of host
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshaviv committed Dec 10, 2013
1 parent 2d15425 commit 218da62
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 ('localhost' == req.host)
if (process.env.NODE_ENV == 'development')
//Livereload script rendered
script(type='text/javascript', src='http://localhost:35729/livereload.js')

0 comments on commit 218da62

Please sign in to comment.