mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 13:44:45 +08:00
update RSHttp
This commit is contained in:
@ -16,7 +16,7 @@ class URLConf {
|
||||
static String get gitlabLocalizationUrl =>
|
||||
"$gitApiHome/SCToolBox/LocalizationData";
|
||||
|
||||
static String get apiRepoPath => "$gitApiHome/SCToolBox/api/raw/branch/main/";
|
||||
static String get apiRepoPath => "$gitApiHome/SCToolBox/api/raw/branch/main";
|
||||
|
||||
static String get gitlabApiPath => "https://$gitApiHome/api/v1/";
|
||||
|
||||
|
@ -10,7 +10,7 @@ class RSHttp {
|
||||
static init() async {
|
||||
await rust_http.setDefaultHeader(headers: {
|
||||
"User-Agent":
|
||||
"SCToolBox/${AppConf.appVersion} (${AppConf.appVersionCode}) ${AppConf.isMSE ? "" : " DEV"} RSHttp"
|
||||
"SCToolBox/${AppConf.appVersion} (${AppConf.appVersionCode})${AppConf.isMSE ? "" : " DEV"} RSHttp"
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user