Fix getFileLinkFormat() to avoid returning the wrong URL in Profiler

This commit is contained in:
Arman Hosseini 2019-07-30 22:16:01 +04:30 committed by GitHub
parent f1cb4b59b9
commit 9ed5f03b98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ class FileLinkFormatter implements \Serializable
}
return [
$request->getSchemeAndHttpHost().$request->getBasePath().$this->urlFormat,
$request->getSchemeAndHttpHost().$this->urlFormat,
$this->baseDir.\DIRECTORY_SEPARATOR, '',
];
}