From baff7856c899b35c0364a8929e8c6bcc93af4222 Mon Sep 17 00:00:00 2001 From: augushong Date: Wed, 11 Nov 2020 11:48:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E7=9A=84=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=8B=BC=E6=8E=A5=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common.php b/app/common.php index 8c6664e..e6c7f7c 100644 --- a/app/common.php +++ b/app/common.php @@ -79,7 +79,7 @@ function get_source_link($url) $url = '/static/images/avatar.png'; } if (strpos($url, '/') === 0) { - return $url; + return request()->domain() . $url; } if (strpos($url, 'http') === 0) { return $url;