server
server copied to clipboard
option --secure false not work, always return "https"
https://github.com/localtunnel/server/blob/78c06f8fc43ce0eacea2aeb88f2d1d63afaf4e19/server.js#L26
Beacause false is string, so opt.secure ? 'https' : 'http';
will return https,
@goldcome This project won't be updated anymore, so you could make a fork to resolve your issue.
My suggestion to get HTTP is don't set --secure as an argument.
--secure
is a boolean property. So it's working "by design". Don't set it to use HTTP.