Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] x-forwarded-proto sets properly
The ternary was evaluating truthy for "," + req.connection.pair which is always true because its always a non empty string. Wrapped actual condition to properly concatenate the product of the ternary. let me know if you prefer the style (req.connection.pair ? 'https' : 'http') #250
- Loading branch information