From 2b96287ee2db5dd9871e023ad0d612bd0f27e769 Mon Sep 17 00:00:00 2001 From: yz <221840196@smail.nju.edu.cn> Date: Fri, 17 Jan 2025 22:18:36 +0800 Subject: [PATCH] fix: webConnect --- entry/src/main/ets/public/WebAPI.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entry/src/main/ets/public/WebAPI.ets b/entry/src/main/ets/public/WebAPI.ets index a3fe77d..247b59b 100644 --- a/entry/src/main/ets/public/WebAPI.ets +++ b/entry/src/main/ets/public/WebAPI.ets @@ -17,7 +17,7 @@ export default class webAPI { static token = '' static userId = -1 static userName = '' - static ipAddr = '${webAPI.ipAddr}' //previewer + static ipAddr = 'localhost' //previewer // static ipAddr = '10.0.2.2' //瀹炴満 static async getCurrentUser(): Promise<string> { -- GitLab