Flotype / now

NowJS makes it easy to build real-time web apps using JavaScript
http://www.nowjs.com
MIT License
1.91k stars 175 forks source link

Custom host/port #27

Closed Swizec closed 13 years ago

Swizec commented 13 years ago

Hey,

I was having trouble using now.js when running node behind an nginx reverse_proxy.

This little patch solves that problem by enabling users to pass a custom host/port combination to Now when initializing so it fills out /nowjs/now.js with the correct information instead of some bogus localhost and strange port configuration.

Cheers, ~Swizec

ericz commented 13 years ago

Merged. Thanks swizec!!