website fix

This commit is contained in:
Roy 2024-03-08 04:17:03 -08:00 committed by GitHub
parent ef173d4057
commit e16abd5175
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -653,6 +653,8 @@ else
for arg in "${args[@]}"; do
if [[ "$arg" =~ ^https?:// ]]; then
website=${arg#https://}
# Check if the arg is not an empty string before adding it to the custom_websites array
if [ -n "$arg" ]; then
custom_websites+=("$arg")