mirror of
https://git.coolaj86.com/coolaj86/telebit.js.git
synced 2025-03-03 07:00:45 +00:00
show https:// prefix
This commit is contained in:
parent
649414403e
commit
5b4dbbd77a
@ -439,9 +439,9 @@ var utils = {
|
||||
if ('http' === body.module) {
|
||||
// TODO we'll support slingshot-ing in the future
|
||||
if (String(body.local) === String(parseInt(body.local, 10))) {
|
||||
console.log('> Forwarding ' + body.remote + ' => localhost:' + body.local);
|
||||
console.log('> Forwarding https://' + body.remote + ' => localhost:' + body.local);
|
||||
} else {
|
||||
console.log('> Serving ' + body.local + ' as ' + body.remote);
|
||||
console.log('> Serving ' + body.local + ' as https://' + body.remote);
|
||||
}
|
||||
} else if ('tcp' === body.module) {
|
||||
console.log('> Forwarding ' + state.config.relay + ':' + body.remote + ' => localhost:' + body.local);
|
||||
|
Loading…
x
Reference in New Issue
Block a user