ai/at
ai/at
1
0

fix redirect

This commit is contained in:
syui 2025-03-05 18:40:08 +09:00
parent 9d78ee8627
commit e05868c9b1
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56

@ -108,6 +108,7 @@ function at-repos-social-app-write() {
sed -i "s#/img/avatar/plain/#https://cdn.bsky.app/img/avatar/plain/#g" $f
sed -i "s#/img/avatar_thumbnail/plain/#https://bsky.${host}/img/avatar/plain/#g" $f
sed -i "s#source={{uri: avatar}}#source={{ uri: hackModifyThumbnailPath(avatar, 1 > 0), }}#g" $f
sed -i "s#https://go.web.${host}/redirect?u=##g" $dt/lib/strings/url-helpers.ts
grep -R $did_admin .|cut -d : -f 1|sort -u|xargs sed -i "s/${did_admin}/${did}/g"
}