Closed ritch closed 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:).
req.protocol
http
window.location.protocol
file:
LGTM
/to @raymondfeng
This fixes https://github.com/strongloop/strong-remoting/issues/229
Without setting the
req.protocol
the browserify implementation ofhttp
incorrectly falls back to thewindow.location.protocol
(which isfile:
).