Skip to content

Commit

Permalink
feat: drop cf sdk as it's no longer maintained
Browse files Browse the repository at this point in the history
  • Loading branch information
AutisticShark committed Nov 10, 2023
1 parent abceaf3 commit 1567441
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 146 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"ext-zip": "*",
"anankke/omnipay-alipay": "^3.1.3",
"aws/aws-sdk-php": "^3.283.14",
"cloudflare/sdk": "^1.3",
"geoip2/geoip2": "^2.13",
"guzzlehttp/guzzle": "^7.8",
"guzzlehttp/psr7": "^2.6.1",
Expand Down
134 changes: 43 additions & 91 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions config/.config.example.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@
// ClientDownload 命令解决 API 访问频率高而被限制使用的 Github access token
$_ENV['github_access_token'] = '';

#Cloudflare
$_ENV['cloudflare_enable'] = false; //是否开启 Cloudflare 解析
$_ENV['cloudflare_email'] = ''; //Cloudflare 邮箱地址
$_ENV['cloudflare_key'] = ''; //Cloudflare API Key
$_ENV['cloudflare_name'] = ''; //域名

// use Cloudflare R2 for clients download
$_ENV['enable_r2_client_download'] = false;
$_ENV['r2_bucket_name'] = '';
Expand Down
Loading

0 comments on commit 1567441

Please sign in to comment.