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;