@onexapis/cli 1.1.30 → 1.1.32
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/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/preview/preview-app.tsx +23 -20
- package/package.json +2 -2
- package/templates/default/CLAUDE.md +44 -16
package/dist/cli.js
CHANGED
|
@@ -4434,7 +4434,7 @@ init_logger();
|
|
|
4434
4434
|
var AUTH_DIR = path8__default.default.join(os3__default.default.homedir(), ".onexthm");
|
|
4435
4435
|
var AUTH_FILE = path8__default.default.join(AUTH_DIR, "auth.json");
|
|
4436
4436
|
function getApiUrl() {
|
|
4437
|
-
return process.env.
|
|
4437
|
+
return process.env.ONEXTHM_API_URL || process.env.NEXT_PUBLIC_API_URL || "https://platform-dev.onexeos.com";
|
|
4438
4438
|
}
|
|
4439
4439
|
async function saveAuthTokens(tokens) {
|
|
4440
4440
|
await fs__default.default.ensureDir(AUTH_DIR);
|