@jebcode-dev/jebcode-tunnel 1.0.7 → 1.0.8

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +7 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -68,4 +68,4 @@ npm link
68
68
 
69
69
  ---
70
70
  © 2026 JEBCODE SOFTWARE E TECNOLOGIA LTDA.
71
- **JebCode Infrastructure v1.0.6**
71
+ **JebCode Infrastructure v1.0.8**
package/index.js CHANGED
@@ -158,9 +158,14 @@ function startTunnel(port, options = {}) {
158
158
  if (!hasShownHeader) {
159
159
  console.clear();
160
160
  console.log(getHeader());
161
+ const displayDomain = SERVER_URL.includes("localhost") ? "localhost:3000" : "jebcodetunnel.com";
162
+ const publicUrl = SERVER_URL.includes("localhost")
163
+ ? `http://${finalSubdomain}.localhost:3000`
164
+ : `https://${finalSubdomain}.jebcodetunnel.com`;
165
+
161
166
  console.log(chalk.white(" STATUS DO TÚNEL ATIVO"));
162
- console.log(chalk.blue(" ▪"), chalk.bold("URL Pública: "), chalk.yellow(`https://${finalSubdomain}.jebcodetunnel.com`));
163
- console.log(chalk.blue(" ▪"), chalk.bold("Encaminhando:"), chalk.white(`http://localhost:${port}`), chalk.gray("➔"), chalk.cyan(`${finalSubdomain}.jebcodetunnel.com`));
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));
164
169
  console.log(chalk.blue(" ▪"), chalk.bold("Dashboard: "), chalk.gray(`${SERVER_URL}/dashboard`));
165
170
 
166
171
  console.log(chalk.gray("\n Pressione CTRL+C para encerrar o túnel"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jebcode-dev/jebcode-tunnel",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "CLI do JebCode Tunnel",
5
5
  "license": "MIT",
6
6
  "publishConfig": {