mirror of
https://github.com/robbie-cahill/tunnelmole-client.git
synced 2026-08-24 10:14:37 -05:00
Print the https url first
This commit is contained in:
@@ -12,13 +12,13 @@ export default async function hostnameAssigned(message: HostnameAssignedMessage,
|
||||
}
|
||||
|
||||
|
||||
const httpUrl = `http://${message.hostname}`;
|
||||
const httpsUrl = `https://${message.hostname}`;
|
||||
const httpUrl = `http://${message.hostname}`;
|
||||
const destinationUrl = `http://localhost:${port}`;
|
||||
|
||||
if (process.env.TUNNELMOLE_QUIET_MODE !== '1') {
|
||||
console.info(`${chalk.greenBright.bold(httpUrl)} ⟶ ${chalk.bold(destinationUrl)}`);
|
||||
console.info(`${chalk.greenBright.bold(httpsUrl)} ⟶ ${chalk.bold(destinationUrl)}`);
|
||||
console.info(`${chalk.greenBright.bold(httpUrl)} ⟶ ${chalk.bold(destinationUrl)}`);
|
||||
}
|
||||
|
||||
eventHandler.emit(URL_ASSIGNED, httpsUrl);
|
||||
|
||||
Reference in New Issue
Block a user