mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 06:33:43 +08:00
fix: urls
This commit is contained in:
parent
07f2ab03cb
commit
75273af5b8
@ -70,7 +70,7 @@ class Api {
|
|||||||
|
|
||||||
static Future<List> getScServerStatus() async {
|
static Future<List> getScServerStatus() async {
|
||||||
final r = await RSHttp.getText(
|
final r = await RSHttp.getText(
|
||||||
"https://status.robertsspaceindustries.com/index.json");
|
"https:///web-proxy.scbox.xkeyc.cn/rsi_status/index.json");
|
||||||
final map = json.decode(r);
|
final map = json.decode(r);
|
||||||
return map["systems"];
|
return map["systems"];
|
||||||
}
|
}
|
||||||
|
@ -20,8 +20,8 @@ class App extends HookConsumerWidget {
|
|||||||
final router = ref.watch(routerProvider);
|
final router = ref.watch(routerProvider);
|
||||||
final appState = ref.watch(appGlobalModelProvider);
|
final appState = ref.watch(appGlobalModelProvider);
|
||||||
return FluentApp.router(
|
return FluentApp.router(
|
||||||
title: "StarCitizenToolBox",
|
title: "SCToolBox Lite",
|
||||||
restorationScopeId: "StarCitizenToolBox",
|
restorationScopeId: "SCToolBox Lite",
|
||||||
themeMode: ThemeMode.dark,
|
themeMode: ThemeMode.dark,
|
||||||
localizationsDelegates: const [
|
localizationsDelegates: const [
|
||||||
S.delegate,
|
S.delegate,
|
||||||
|
@ -52,9 +52,8 @@ class IndexUI extends HookConsumerWidget {
|
|||||||
fit: BoxFit.cover,
|
fit: BoxFit.cover,
|
||||||
),
|
),
|
||||||
const SizedBox(width: 12),
|
const SizedBox(width: 12),
|
||||||
Text(S.current.app_index_version_info(
|
Text(
|
||||||
ConstConf.appVersion,
|
"${S.current.app_index_version_info(ConstConf.appVersion, ConstConf.isMSE ? "" : " Dev")} [PREVIEW]"),
|
||||||
ConstConf.isMSE ? "" : " Dev")),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
<!-- Favicon -->
|
<!-- Favicon -->
|
||||||
<link rel="icon" type="image/png" href="favicon.png"/>
|
<link rel="icon" type="image/png" href="favicon.png"/>
|
||||||
|
|
||||||
<title>starcitizentoolbox_web</title>
|
<title>SCToolBox Lite</title>
|
||||||
<link rel="manifest" href="manifest.json">
|
<link rel="manifest" href="manifest.json">
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
Loading…
Reference in New Issue
Block a user