@zubyjs/share 1.0.59 → 1.0.60
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ Zuby.js v1.0.58 started in 379ms
|
|
|
51
51
|
┃ Local http://127.0.0.1:3000/
|
|
52
52
|
┃ Network use --host and --port to expose
|
|
53
53
|
|
|
54
|
-
┃ Share
|
|
54
|
+
┃ Share https://accidents-head-random.trycloudflare.com
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
NOTE: Always make sure that all zuby packages are in sync in your `package.json` file:
|
package/index.js
CHANGED
|
@@ -26,8 +26,8 @@ export async function createTunnel({ config }) {
|
|
|
26
26
|
verifyTLS: false,
|
|
27
27
|
});
|
|
28
28
|
if (!tunnel) {
|
|
29
|
-
return logger.error(' ┃ Share
|
|
29
|
+
return logger.error(' ┃ Share Failed to start the tunnel');
|
|
30
30
|
}
|
|
31
31
|
const tunnelUrl = await tunnel.getURL();
|
|
32
|
-
logger?.info(` ┃ Share
|
|
32
|
+
logger?.info(` ┃ Share ${chalk.gray(tunnelUrl)}\r\n`);
|
|
33
33
|
}
|