From 0a4d47dcc9e5887481d9517eed3ce226f66edb71 Mon Sep 17 00:00:00 2001 From: augushong Date: Sat, 29 Feb 2020 12:26:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E8=AE=BF?= =?UTF-8?q?=E9=97=AE=E6=8B=BC=E6=8E=A5=E5=87=BD=E6=95=B0?= 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 2715bbe..52a940c 100644 --- a/app/common.php +++ b/app/common.php @@ -62,7 +62,7 @@ function get_source_link($url) $resource_domain = get_system_config('resource_domain'); if(empty($resource_domain)){ - $resource_domain = request()->host().':'. request()->port(); + $resource_domain = request()->host(); } return 'http://'.$resource_domain.'/'.$url; }