We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd71380 commit c44b64dCopy full SHA for c44b64d
src/Url.php
@@ -77,7 +77,8 @@ public static function asset($asset = '', $absoluteUrl = false)
77
78
$host = '';
79
if ($absoluteUrl) {
80
- $host = Application::$app['request']->getSchemeAndHttpHost();
+ // $host = Application::$app['request']->getSchemeAndHttpHost();
81
+ $host = self::getScheme() . '://' . $_SERVER['HTTP_HOST'];
82
}
83
84
return $host . Application::$app['request']->getBasePath() . $asset;
0 commit comments