mirror of
https://github.com/hnhx/librex.git
synced 2025-04-29 05:59:27 -04:00
remove bibliogram
This commit is contained in:
parent
d04315009e
commit
e4178913bd
6 changed files with 0 additions and 21 deletions
|
@ -32,12 +32,6 @@
|
|||
"original_name" => "YouTube",
|
||||
"original_url" => "youtube.com"
|
||||
),
|
||||
"bibliogram" => array(
|
||||
"instance_url" => "",
|
||||
"project_url" => "https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instances.md",
|
||||
"original_name" => "Instagram",
|
||||
"original_url" => "instagram.com"
|
||||
),
|
||||
"rimgo" => array(
|
||||
"instance_url" => "",
|
||||
"project_url" => "https://codeberg.org/video-prize-ranch/rimgo#instances",
|
||||
|
|
|
@ -107,7 +107,6 @@ This docker image was developed with high configurability in mind, so here is th
|
|||
| Variables | Default | Examples | Description |
|
||||
|:----------|:-------------|:---------|:------|
|
||||
| APP_INVIDIOUS | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||
| APP_BIBLIOGRAM | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||
| APP_RIMGO | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||
| APP_SCRIBE | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||
| APP_LIBRARIAN | "" | string | Integration with external self-hosted apps, configure the desired host. |
|
||||
|
|
|
@ -34,7 +34,6 @@ export CONFIG_WIKIPEDIA_LANGUAGE=${CONFIG_WIKIPEDIA_LANGUAGE:-${CONFIG_GOOGLE_LA
|
|||
# Supported apps integration configuration. These empty spaces can be set up using free hosts as pointers
|
||||
# A particular example is using the "https://yewtu.be" or a self-hosted host to integrate the invidious app to librex
|
||||
export APP_INVIDIOUS=${APP_INVIDIOUS:-""}
|
||||
export APP_BIBLIOGRAM=${APP_BIBLIOGRAM:-""}
|
||||
export APP_RIMGO=${APP_RIMGO:-""}
|
||||
export APP_SCRIBE=${APP_SCRIBE:-""}
|
||||
export APP_LIBRARIAN=${APP_LIBRARIAN:-""}
|
||||
|
|
|
@ -18,12 +18,6 @@
|
|||
"original_name" => "YouTube",
|
||||
"original_url" => "youtube.com"
|
||||
),
|
||||
"bibliogram" => array(
|
||||
"instance_url" => "${APP_BIBLIOGRAM}",
|
||||
"project_url" => "https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instances.md",
|
||||
"original_name" => "Instagram",
|
||||
"original_url" => "instagram.com"
|
||||
),
|
||||
"rimgo" => array(
|
||||
"instance_url" => "${APP_RIMGO}",
|
||||
"project_url" => "https://codeberg.org/video-prize-ranch/rimgo#instances",
|
||||
|
|
|
@ -22,7 +22,6 @@ ENV CONFIG_BITTORRENT_TRACKERS="&tr=http://nyaa.tracker.wf:7777/announce&tr=udp:
|
|||
# Supported apps integration configuration. These empty spaces can be set up using free hosts as pointers
|
||||
# A particular example is using the "https://yewtu.be" or a self-hosted host to integrate the invidious app to librex
|
||||
ENV APP_INVIDIOUS=""
|
||||
ENV APP_BIBLIOGRAM=""
|
||||
ENV APP_RIMGO=""
|
||||
ENV APP_SCRIBE=""
|
||||
ENV APP_LIBRARIAN=""
|
||||
|
|
|
@ -30,12 +30,6 @@
|
|||
else if (!empty($frontends[$frontend]["instance_url"]))
|
||||
$frontend = $frontends[$frontend]["instance_url"];
|
||||
|
||||
if ($original == "instagram.com")
|
||||
{
|
||||
if (!strpos($url, "/p/"))
|
||||
$frontend .= "/u";
|
||||
}
|
||||
|
||||
if (empty(trim($frontend)))
|
||||
return $url;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue