Skip to content

Commit

Permalink
fix: ssh bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Nov 16, 2024
1 parent b9f43a1 commit 0ee1c3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hiddify-panel/src
Submodule src updated from eecf55 to 32bd3d
2 changes: 1 addition & 1 deletion other/ssh/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sed -i '/REDIS_URL/d' .env

if [ -z "${REDIS_URI_SSH}" ]; then
REDIS_PASS=$(grep '^requirepass' "../redis/redis.conf" | awk '{print $2}')
REDIS_URI_SSH='redis://:[email protected]:6379/1'
REDIS_URI_SSH="redis://:${REDIS_PASS}@127.0.0.1:6379/1"
fi

echo "REDIS_URL='$REDIS_URI_SSH'" >>.env
Expand Down

0 comments on commit 0ee1c3f

Please sign in to comment.