初始版本

This commit is contained in:
Zhanghu
2025-09-12 14:56:08 +08:00
parent 142134c342
commit 03304dde40
3 changed files with 16 additions and 14 deletions

View File

@@ -94,7 +94,7 @@ public class BuildingDashboardActivity extends FullscreenActivity {
super.onResume();
SharedPreferences pre = PreferenceManager.getDefaultSharedPreferences(this);
String url = pre.getString("k_url", "http://10.1.58.176:8002");
String url = pre.getString("k_url", "http://172.18.22.211:8002/Dashboard");
mainUrl = url + "/index.html";
configUrl = url + "/data/config.json";

View File

@@ -3,7 +3,7 @@
<EditTextPreference
app:key="k_url"
app:title="URL 前缀"
app:defaultValue="http://10.1.58.176:8002"
app:defaultValue="http://172.18.22.211:8002/Dashboard"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
</PreferenceScreen>