Update to latest engine. Add sync-v2. Various fixes.
This commit is contained in:
+3
-2
@@ -13,7 +13,7 @@ import { getDataDir } from "./utils/paths.js";
|
||||
* Configuration options for the CLI application.
|
||||
*/
|
||||
export interface AppConfig {
|
||||
/** URL of the sync server (default: http://localhost:3000) */
|
||||
/** URL of the sync server (default: https://v2.sync.xo.harvmaster.com) */
|
||||
syncServerUrl: string;
|
||||
/** Database path for wallet state storage */
|
||||
databasePath: string;
|
||||
@@ -51,7 +51,8 @@ export class App {
|
||||
const dataDir = getDataDir();
|
||||
// Set default configuration
|
||||
const fullConfig: AppConfig = {
|
||||
syncServerUrl: config.syncServerUrl ?? "http://localhost:3000",
|
||||
syncServerUrl:
|
||||
config.syncServerUrl ?? "https://v2.sync.xo.harvmaster.com",
|
||||
databasePath: config.databasePath ?? dataDir,
|
||||
databaseFilename: config.databaseFilename ?? "xo-wallet.db",
|
||||
invitationStoragePath:
|
||||
|
||||
Reference in New Issue
Block a user