mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-07-30 01:07:30 +08:00
feat: add CloudFlare ImgBed attachment driver
This commit is contained in:
@@ -10,7 +10,7 @@ class Lsky extends Storage {
|
||||
{
|
||||
$api = get_setting("image_hosting_lsky.upload_api_endpoint");
|
||||
$token = get_setting("image_hosting_lsky.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