awarts 0.2.0 → 0.2.1
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
|
@@ -4747,7 +4747,7 @@ async function getToken() {
|
|
|
4747
4747
|
}
|
|
4748
4748
|
|
|
4749
4749
|
// src/lib/api.ts
|
|
4750
|
-
var DEFAULT_API_URL = "https://
|
|
4750
|
+
var DEFAULT_API_URL = "https://honorable-bee-242.convex.site";
|
|
4751
4751
|
async function readConfigUrl() {
|
|
4752
4752
|
try {
|
|
4753
4753
|
const configPath = path3.join(os4.homedir(), ".awarts", "config.json");
|
|
@@ -5816,7 +5816,7 @@ async function startDeviceAuth() {
|
|
|
5816
5816
|
dim("Is the backend running? Check AWARTS_API_URL or ~/.awarts/config.json");
|
|
5817
5817
|
return;
|
|
5818
5818
|
}
|
|
5819
|
-
const FRONTEND_URL = process.env.AWARTS_FRONTEND_URL ?? "
|
|
5819
|
+
const FRONTEND_URL = process.env.AWARTS_FRONTEND_URL ?? "https://awarts.vercel.app";
|
|
5820
5820
|
const verifyUrl = `${FRONTEND_URL}/cli/verify?code=${initData.code}`;
|
|
5821
5821
|
console.log();
|
|
5822
5822
|
console.log(` ${source_default.bold("Your verification code:")} ${source_default.bgWhite.black.bold(` ${initData.code} `)}`);
|