Skip to content

Commit

Permalink
Optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Cp0204 committed May 4, 2024
1 parent 614f0a9 commit 5882658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ttyd_options+=(-p "$port")

# 允许客户端写入TTY
allow_write=${ALLOW_WRITE:-"true"}
if [[ "$allow_write" == "true" ]]; then
if [[ "$allow_write" != "false" ]]; then
ttyd_options+=("-W")
fi

Expand Down

0 comments on commit 5882658

Please sign in to comment.