mirror of
https://github.com/Ahwxorg/librey/
synced 2024-12-06 19:16:48 +01:00
Sry
This commit is contained in:
@@ -19,6 +19,12 @@
|
||||
else if (!empty($config->$frontend))
|
||||
$frontend = $config->$frontend;
|
||||
|
||||
if ($original == "instagram.com")
|
||||
{
|
||||
if (!strpos($url, "/p/"))
|
||||
$frontend .= "/u";
|
||||
}
|
||||
|
||||
if (empty(trim($frontend)))
|
||||
return $url;
|
||||
|
||||
@@ -59,6 +65,7 @@
|
||||
|
||||
$frontends = array(
|
||||
"youtube.com" => "invidious",
|
||||
"instagram.com" => "bibliogram",
|
||||
"music.youtube.com" => "hyperpipe",
|
||||
"imgur.io" => "rimgo",
|
||||
"medium.com" => "scribe",
|
||||
|
||||
Reference in New Issue
Block a user