qualty 0.1.6 → 0.1.7
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/bin/qualty.js +4 -2
- package/package.json +1 -1
package/bin/qualty.js
CHANGED
|
@@ -77,7 +77,9 @@ function startCloudflared(token, port) {
|
|
|
77
77
|
"--protocol",
|
|
78
78
|
"http2",
|
|
79
79
|
"--url",
|
|
80
|
-
|
|
80
|
+
// Use 127.0.0.1 so cloudflared does not prefer [::1] (common on Linux/GitHub Actions) while
|
|
81
|
+
// Next/webpack dev servers often bind --hostname 127.0.0.1 only.
|
|
82
|
+
`http://127.0.0.1:${port}`,
|
|
81
83
|
"run",
|
|
82
84
|
"--token",
|
|
83
85
|
token,
|
|
@@ -114,7 +116,7 @@ async function runConnect(args) {
|
|
|
114
116
|
|
|
115
117
|
const hostUrl = connect.localhost?.url;
|
|
116
118
|
// eslint-disable-next-line no-console
|
|
117
|
-
console.log(`Connected ✅ ${hostUrl} -> http://
|
|
119
|
+
console.log(`Connected ✅ ${hostUrl} -> http://127.0.0.1:${port}`);
|
|
118
120
|
|
|
119
121
|
const cloudflaredToken = connect.tunnel?.token;
|
|
120
122
|
if (!cloudflaredToken) {
|