mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-07-29 08:37:29 +08:00
feat: add CloudFlare ImgBed attachment driver
This commit is contained in:
@@ -10,7 +10,7 @@ class Chevereto extends Storage {
|
||||
{
|
||||
$api = get_setting("image_hosting_chevereto.upload_api_endpoint");
|
||||
$token = get_setting("image_hosting_chevereto.upload_token");
|
||||
$logPrefix = "filepath: $filepath, api: $api, token: $token";
|
||||
$logPrefix = "filepath: $filepath, api: $api";
|
||||
$httpClient = new \GuzzleHttp\Client();
|
||||
$response = $httpClient->request('POST', $api, [
|
||||
'headers' => [
|
||||
|
||||
Reference in New Issue
Block a user