From e05868c9b13ae2eb04408c85cb2dac2afa1f5b5b Mon Sep 17 00:00:00 2001 From: syui Date: Wed, 5 Mar 2025 18:40:08 +0900 Subject: [PATCH] fix redirect --- install.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.zsh b/install.zsh index c3770b1..9f0a006 100755 --- a/install.zsh +++ b/install.zsh @@ -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" }