X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ddb7f33868ea499ab8f48a7062f145e8c0fbe02f..refs/pull/3693/head:/app/Http/Request.php diff --git a/app/Http/Request.php b/app/Http/Request.php index 183686f67..4cbdf34ba 100644 --- a/app/Http/Request.php +++ b/app/Http/Request.php @@ -1,25 +1,45 @@ -getScheme().'://'.$this->getHttpHost(); + return empty($parsedBaseUrl) ? '' : ('/' . $parsedBaseUrl); } - return $base; + return parent::getBaseUrl(); } }