mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Closes #898
This commit is contained in:
parent
1ede1805bb
commit
afdf804012
2 changed files with 3 additions and 4 deletions
|
@ -61,7 +61,7 @@ class Response
|
|||
|
||||
public static function getMetaImages()
|
||||
{
|
||||
return static::$metaImages ?: [Request::getHostAndProto() . '/img/lbry-green-meta-1200x900.png'];
|
||||
return static::$metaImages ?: [Request::getHostAndProto() . '/img/og-image.png'];
|
||||
}
|
||||
|
||||
public static function setMetaTitle($title)
|
||||
|
@ -371,15 +371,14 @@ class Response
|
|||
);
|
||||
}
|
||||
|
||||
public static function addPostRenderCallback( $cb )
|
||||
public static function addPostRenderCallback($cb)
|
||||
{
|
||||
array_push(static::$PostRenderCallbacks, $cb);
|
||||
}
|
||||
|
||||
public static function invokePostRenderCallbacks()
|
||||
{
|
||||
foreach(static::$PostRenderCallbacks as &$cb )
|
||||
{
|
||||
foreach (static::$PostRenderCallbacks as &$cb) {
|
||||
$cb();
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 656 KiB |
Loading…
Add table
Reference in a new issue