qualty 0.1.3 → 0.1.4
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 +2 -2
- package/package.json +1 -1
package/bin/qualty.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
import process from "node:process";
|
|
5
5
|
|
|
6
|
-
/** When unset, CLI
|
|
7
|
-
const DEFAULT_QUALTY_API_URL = "https://qualty-api-
|
|
6
|
+
/** When unset, CLI uses Qualty development API. Override for production: QUALTY_API_URL=https://qualty-api-production.up.railway.app or local: http://localhost:8000 */
|
|
7
|
+
const DEFAULT_QUALTY_API_URL = "https://qualty-api-development.up.railway.app";
|
|
8
8
|
|
|
9
9
|
function resolveApiUrl(args) {
|
|
10
10
|
return String(args.api || process.env.QUALTY_API_URL || DEFAULT_QUALTY_API_URL).replace(/\/$/, "");
|