ImageProxy
画像をプロキシします
Install / Use
/learn @Ablaze-MIRAI/ImageProxyREADME
ImageProxy
画像をプロキシします
How to use
https://[your domain]/?source=<url>
source パラメーターにURLを指定するだけで使えます
How to deploy
- このリポジトリをクローンします。
- 中身を全てドキュメントルートに移動します。
config.phpで設定をします。設定方法
Setup
プロキシに関する設定ができます
CORS
アクセスできるオリジンを制限できます
// Default
$CORS = "*";
// Example
$CORS = "https://example.com";
User Agent
データを取得する際のユーザーエージェントを設定できます。
// Default
$UA = "ImageProxy_v1.0.0";
// Example
$UA = "Example_Bot";
