Skip to content

Commit

Permalink
Revert "Update S3 url generator to use media disk (spatie#1755)" (spa…
Browse files Browse the repository at this point in the history
…tie#1757)

This reverts commit d96e93a.
  • Loading branch information
freekmurze authored Mar 4, 2020
1 parent 4cbe7c0 commit 144632b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/UrlGenerator/S3UrlGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getUrl(): string

$url = $this->versionUrl($url);

return config('medialibrary.'.$this->media->disk.'.domain').'/'.$url;
return config('medialibrary.s3.domain').'/'.$url;
}

/**
Expand Down Expand Up @@ -76,6 +76,6 @@ public function getResponsiveImagesDirectoryUrl(): string
$url = $root.'/'.$url;
}

return config('medialibrary.'.$this->media->disk.'.domain').'/'.$url;
return config('medialibrary.s3.domain').'/'.$url;
}
}

0 comments on commit 144632b

Please sign in to comment.