From 9d1984a171030707abb8419c0dfccc7dc4c44716 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 5 May 2024 04:58:43 +0300 Subject: [PATCH] enshort source url on alt text --- src/Controller/Server/Nex.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Controller/Server/Nex.php b/src/Controller/Server/Nex.php index af187a7..4082f1f 100644 --- a/src/Controller/Server/Nex.php +++ b/src/Controller/Server/Nex.php @@ -133,8 +133,12 @@ class Nex implements MessageComponentInterface if ($channelItem->link) { $lines[] = sprintf( - '=> %s', - $channelItem->link + '=> %s %s', + $channelItem->link, + parse_url( + $channelItem->link, + PHP_URL_HOST + ) ); }