fix: urls

This commit is contained in:
xkeyC 2024-09-04 21:22:07 +08:00
parent 07f2ab03cb
commit 75273af5b8
4 changed files with 6 additions and 7 deletions

View File

@ -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"];
} }

View File

@ -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,

View File

@ -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")),
], ],
), ),
); );

View File

@ -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>