初始版本
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user