Skip to content

Commit

Permalink
Update midway.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
64rl0 authored Jan 12, 2025
1 parent c61d176 commit 8130ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tmux-midway/scripts/midway.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mw_cookie() {
mw_cookie_text+="#[fg=$mw_cookie_expired_color_fg,bg=$mw_cookie_expired_color_bg]AEA ✖#[fg=$mw_cookie_color_end_fg,bg=$mw_cookie_color_end_bg] "
fi
# CN
if [[ "${cookie_domain}" =~ midway-auth.aws-border.cn ]]; then
elif [[ "${cookie_domain}" =~ midway-auth.aws-border.cn ]]; then
if [[ "${time_remaining_sec}" -gt "${secs_for_expiring}" ]]; then
mw_cookie_text+="#[fg=$mw_cookie_valid_color_fg,bg=$mw_cookie_valid_color_bg]AEA-CN ✔#[fg=$mw_cookie_color_end_fg,bg=$mw_cookie_color_end_bg] "
elif [[ "${time_remaining_sec}" -le "${secs_for_expiring}" && "${time_remaining_sec}" -gt 0 ]]; then
Expand Down

0 comments on commit 8130ba1

Please sign in to comment.