fix????
This commit is contained in:
parent
ce45727b60
commit
c89bf3bf1a
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ public function __construct($track) {
|
|||
$path = parse_url($track["image"], PHP_URL_PATH);
|
||||
if ($track["image"] === "") {
|
||||
$this->artUrl = null;
|
||||
return;
|
||||
} else {
|
||||
$this->artUrl = "//" . request()->getHttpHost() . "/proxy/lastfm/" . basename($path);
|
||||
}
|
||||
$this->artUrl = "//".request()->getHttpHost()."/proxy/lastfm/".basename($path);
|
||||
} else {
|
||||
$this->artUrl = $track["image"];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue