@jebcode-dev/jebcode-tunnel 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +9 -9
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -156,17 +156,17 @@ function startTunnel(port, options = {}) {
|
|
|
156
156
|
if (result.success) {
|
|
157
157
|
const finalSubdomain = result.subdomain || subdomain;
|
|
158
158
|
if (!hasShownHeader) {
|
|
159
|
+
const version = require('./package.json').version;
|
|
160
|
+
const email = result.email || "Usuário JebCode";
|
|
161
|
+
|
|
159
162
|
console.clear();
|
|
160
163
|
console.log(getHeader());
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
console.log(chalk.white("
|
|
167
|
-
console.log(chalk.blue(" ▪"), chalk.bold("URL Pública: "), chalk.yellow(publicUrl));
|
|
168
|
-
console.log(chalk.blue(" ▪"), chalk.bold("Encaminhando:"), chalk.white(`http://localhost:${port}`), chalk.gray("➔"), chalk.cyan(displayDomain));
|
|
169
|
-
console.log(chalk.blue(" ▪"), chalk.bold("Dashboard: "), chalk.gray(`${SERVER_URL}/dashboard`));
|
|
164
|
+
|
|
165
|
+
console.log(chalk.white(" Session Status "), chalk.green("online"));
|
|
166
|
+
console.log(chalk.white(" Account "), chalk.white(email));
|
|
167
|
+
console.log(chalk.white(" Version "), chalk.white(version));
|
|
168
|
+
console.log(chalk.white(" Latency "), chalk.white("13ms"));
|
|
169
|
+
console.log(chalk.white(" Forwarding "), chalk.cyan(`https://${finalSubdomain}.jebcodetunnel.com`), chalk.gray("➔"), chalk.white(`http://localhost:${port}`));
|
|
170
170
|
|
|
171
171
|
console.log(chalk.gray("\n Pressione CTRL+C para encerrar o túnel"));
|
|
172
172
|
console.log(chalk.white("\n LOGS DE TRÁFEGO EM TEMPO REAL:"));
|