更新图床工具

This commit is contained in:
net909
2025-07-14 12:45:47 +08:00
parent a449674739
commit affb5a3827
11 changed files with 182 additions and 232 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ use plugin\utility\imghosting\api;
class imgdd implements api
{
public function upload($filepath, $filename){
$url = 'https://imgdd.com/api/v1/upload';
$url = 'https://imgdd.com/upload';
$referer = 'https://imgdd.com/';
$file = new \CURLFile($filepath);
$file->setPostFilename($filename);