diff --git a/social-app.-.md b/social-app.-.md index 98a4591..4556db6 100644 --- a/social-app.-.md +++ b/social-app.-.md @@ -20,8 +20,6 @@ 例えば、`BSKY_IMG_URI_ENDPOINT=https://cdn.bsky.app/img`を使用すると以下のようになります。 -> - ```sh https://cdn.bsky.app/img/avatar_thumbnail/plain/${did}/${rkey}@jpeg ``` @@ -107,6 +105,8 @@ curl -sL -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $t そこで、cloudflareでurlの書き換えルールを設定します。これでiosから閲覧できるようになりました。 + 1. rule(ルール) -> urlの書き換え 2. req(リクエスト): `https://bsky.syu.is/img/avatar_thumbnail/*` -3. path(パス): `/img/avatar/*` --> `/img/avatar_thumbnail/*` \ No newline at end of file +3. path(パス): `/img/avatar/*` -> `/img/avatar_thumbnail/*` +