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 {
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);
return map["systems"];
}

View File

@ -20,8 +20,8 @@ class App extends HookConsumerWidget {
final router = ref.watch(routerProvider);
final appState = ref.watch(appGlobalModelProvider);
return FluentApp.router(
title: "StarCitizenToolBox",
restorationScopeId: "StarCitizenToolBox",
title: "SCToolBox Lite",
restorationScopeId: "SCToolBox Lite",
themeMode: ThemeMode.dark,
localizationsDelegates: const [
S.delegate,

View File

@ -52,9 +52,8 @@ class IndexUI extends HookConsumerWidget {
fit: BoxFit.cover,
),
const SizedBox(width: 12),
Text(S.current.app_index_version_info(
ConstConf.appVersion,
ConstConf.isMSE ? "" : " Dev")),
Text(
"${S.current.app_index_version_info(ConstConf.appVersion, ConstConf.isMSE ? "" : " Dev")} [PREVIEW]"),
],
),
);

View File

@ -29,7 +29,7 @@
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>
<title>starcitizentoolbox_web</title>
<title>SCToolBox Lite</title>
<link rel="manifest" href="manifest.json">
<script>