mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-16 10:18:28 +00:00
add default api url back
This commit is contained in:
parent
793f0c8703
commit
4910a2b04b
@ -41,6 +41,7 @@
|
||||
"SettingsThemeLight": "light",
|
||||
"SettingsThemeDark": "dark",
|
||||
"SettingsServerPicker": "server picker",
|
||||
"SettingsServerPickerDefault": "default",
|
||||
"SettingsServerPickerDescription": "choose which server to download from, default is ",
|
||||
"SettingsKeepDownloadButton": "keep >> visible",
|
||||
"AccessibilityKeepDownloadButton": "keep the download button always visible",
|
||||
|
@ -32,7 +32,7 @@ for (let i in donations["crypto"]) {
|
||||
|
||||
let servers = otherServers.map((p) => {
|
||||
if (p === "default") {
|
||||
return { "action": defaultApiURL, "text": defaultApiURL.replace("https://","") }
|
||||
return { "action": defaultApiURL }
|
||||
} else {
|
||||
return { "action": p, "text": p.replace("https://","") }
|
||||
}
|
||||
@ -48,6 +48,7 @@ export default function(obj) {
|
||||
let platform = isMobile ? "m" : "p";
|
||||
if (isMobile && isIOS) platform = "i";
|
||||
|
||||
servers[0]["text"] = t('SettingsServerPickerDefault');
|
||||
audioFormats[0]["text"] = t('SettingsAudioFormatBest');
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user