mirror of
https://github.com/imputnet/cobalt.git
synced 2026-09-01 02:09:33 +00:00
web/i18n/error: update youtube main instance error text
This commit is contained in:
parent
25df76ed7c
commit
e6a987cd4f
3 changed files with 3 additions and 3 deletions
|
|
@ -215,7 +215,7 @@ export function extract(url, enabledServices = env.enabledServices) {
|
|||
// show a different message when youtube is disabled on official instances
|
||||
// as it only happens when shit hits the fan
|
||||
if (new URL(env.apiURL).hostname.endsWith(".imput.net") && host === "youtube") {
|
||||
return { error: "youtube.temporary_disabled" };
|
||||
return { error: "youtube.disabled_main_instance" };
|
||||
}
|
||||
return { error: "service.disabled" };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue