Skip to content

Commit

Permalink
Fix for urlbase
Browse files Browse the repository at this point in the history
- Addresses #57
  • Loading branch information
TheCaptain989 committed Oct 14, 2023
1 parent 4828c2d commit 4ee07f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/usr/local/bin/striptracks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ elif [ -f "$striptracks_arr_config" ]; then
[[ $striptracks_bindaddress = "*" ]] && striptracks_bindaddress=localhost

# Build URL to Radarr/Sonarr API
striptracks_api_url="http://$striptracks_bindaddress:$striptracks_port$striptracks_urlbase/api/v3"
striptracks_api_url="http://$striptracks_bindaddress:$striptracks_port${striptracks_urlbase:+/$striptracks_urlbase}/api/v3"

# Check Radarr/Sonarr version
if get_version; then
Expand Down

0 comments on commit 4ee07f9

Please sign in to comment.