strongloop / strong-remoting

Communicate between objects in servers, mobile apps, and other servers.
www.strongloop.com
Other
105 stars 93 forks source link

Explicitly set req.protocol #230

Closed ritch closed 9 years ago

ritch commented 9 years ago

/to @raymondfeng

This fixes https://github.com/strongloop/strong-remoting/issues/229

Without setting the req.protocol the browserify implementation of http incorrectly falls back to the window.location.protocol (which is file:).

raymondfeng commented 9 years ago

LGTM