Skip to content

Commit 7e152f6

Browse files
committed
Fix public host URL for cache busting
1 parent 472ee62 commit 7e152f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/CdnClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function purgeMetadataCache(string $path): bool
7575
return false;
7676
}
7777

78-
$resp = $this->httpClient->request('POST', 'https://api.bunny.net/purge?'.http_build_query(['url' => $this->packagistHost.$path, 'async' => 'true']), [
78+
$resp = $this->httpClient->request('POST', 'https://api.bunny.net/purge?'.http_build_query(['url' => 'https://'.$this->packagistHost.'/'.$path, 'async' => 'true']), [
7979
'headers' => [
8080
'AccessKey' => $this->cdnApiKey,
8181
],

0 commit comments

Comments
 (0)