Skip to content

Commit 2ba1ca3

Browse files
Add pull_zone to configs
1 parent 7d93e74 commit 2ba1ca3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Next, install the adapter to your `AppServiceProvider` to give Laravel's FileSys
7676
$config['api_key'],
7777
$config['region']
7878
),
79-
'http://testing.b-cdn.net' # Optional
79+
$config['pull_zone']
8080
);
8181

8282
return new FilesystemAdapter(
@@ -96,6 +96,7 @@ Finally, add the `bunnycdn` driver into your `config/filesystems.php` configurat
9696
'bunnycdn' => [
9797
'driver' => 'bunnycdn',
9898
'storage_zone' => env('BUNNYCDN_STORAGE_ZONE'),
99+
'pull_zone' => env('BUNNYCDN_PULL_ZONE'),
99100
'api_key' => env('BUNNYCDN_API_KEY'),
100101
'region' => env('BUNNYCDN_REGION', \PlatformCommunity\Flysystem\BunnyCDN\BunnyCDNRegion::DEFAULT)
101102
],
@@ -107,6 +108,7 @@ Lastly, populate your `BUNNYCDN_STORAGE_ZONE`, `BUNNYCDN_API_KEY` `BUNNYCDN_REGI
107108

108109
```dotenv
109110
BUNNYCDN_STORAGE_ZONE=testing_storage_zone
111+
BUNNYCDN_PULL_ZONE=https://testing.b-cdn.net
110112
BUNNYCDN_API_KEY="api-key"
111113
# BUNNYCDN_REGION=uk
112114
```

0 commit comments

Comments
 (0)