routess 1.122.4 → 1.122.6
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4479,7 +4479,7 @@ function loadConfig() {
|
|
|
4479
4479
|
const envToken = process.env.ROUTESS_TOKEN?.trim();
|
|
4480
4480
|
const envApiUrl = process.env.ROUTESS_API_URL?.trim();
|
|
4481
4481
|
const persisted = readPersisted();
|
|
4482
|
-
const apiUrl = envApiUrl || persisted.apiUrl || "https://
|
|
4482
|
+
const apiUrl = envApiUrl || persisted.apiUrl || "https://api.routess.com";
|
|
4483
4483
|
if (envToken && envToken.length > 0) {
|
|
4484
4484
|
return { apiUrl, token: envToken, tokenSource: "env" };
|
|
4485
4485
|
}
|
|
@@ -4686,7 +4686,7 @@ init_output();
|
|
|
4686
4686
|
var program2 = new Command;
|
|
4687
4687
|
var packageJsonPath = join2(dirname(fileURLToPath(import.meta.url)), "../package.json");
|
|
4688
4688
|
var packageVersion = JSON.parse(readFileSync2(packageJsonPath, "utf8")).version;
|
|
4689
|
-
program2.name("routess").description("Routess command-line interface. See `routess auth login --help` to get started.").version(packageVersion).option("--json", "emit machine-readable JSON to stdout, errors as DomainErrorPayload to stderr", false)
|
|
4689
|
+
program2.name("routess").description("Routess command-line interface. See `routess auth login --help` to get started.").version(packageVersion).option("--json", "emit machine-readable JSON to stdout, errors as DomainErrorPayload to stderr", false);
|
|
4690
4690
|
async function runCommand(action) {
|
|
4691
4691
|
const options = program2.opts();
|
|
4692
4692
|
const runOptions = { json: Boolean(options.json) };
|