@jebcode-dev/jebcode-tunnel 1.0.7 → 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/README.md +1 -1
- package/index.js +9 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -156,12 +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
|
-
console.log(chalk.
|
|
163
|
-
console.log(chalk.
|
|
164
|
-
console.log(chalk.
|
|
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}`));
|
|
165
170
|
|
|
166
171
|
console.log(chalk.gray("\n Pressione CTRL+C para encerrar o túnel"));
|
|
167
172
|
console.log(chalk.white("\n LOGS DE TRÁFEGO EM TEMPO REAL:"));
|