代理优化

This commit is contained in:
2026-02-06 17:48:43 +08:00
parent 57928cd97d
commit 2f4241951d
6 changed files with 58 additions and 33 deletions

View File

@@ -1,7 +1,12 @@
import { WalletType } from 'rnwalletman';
const DOMAIN = '192.168.1.168:16000';
const BASE_URL = `http://${DOMAIN}`;
const WS_URL = `ws://${DOMAIN}/ws`;
class Api {
public static readonly BASE_URL = 'http://192.168.1.117:16000';
public static readonly BASE_URL = BASE_URL;
public static readonly WS_URL = WS_URL;
private static _instance: Api | null = null;
private userId: number = 0;