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.
Files changed (2) hide show
  1. package/bin/qualty.js +4 -2
  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
- `http://localhost:${port}`,
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://localhost:${port}`);
119
+ console.log(`Connected ✅ ${hostUrl} -> http://127.0.0.1:${port}`);
118
120
 
119
121
  const cloudflaredToken = connect.tunnel?.token;
120
122
  if (!cloudflaredToken) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qualty",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Qualty CLI for localhost and CI test runs",
5
5
  "bin": {
6
6
  "qualty": "bin/qualty.js"