server icon indicating copy to clipboard operation
server copied to clipboard

option --secure false not work, always return "https"

Open goldcome opened this issue 4 years ago • 2 comments

https://github.com/localtunnel/server/blob/78c06f8fc43ce0eacea2aeb88f2d1d63afaf4e19/server.js#L26

Beacause false is string, so opt.secure ? 'https' : 'http'; will return https,

goldcome avatar Jan 29 '21 09:01 goldcome

@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.

zcmgyu avatar Feb 03 '21 08:02 zcmgyu

--secure is a boolean property. So it's working "by design". Don't set it to use HTTP.

StyleT avatar Feb 20 '21 06:02 StyleT