Skip to content

Commit

Permalink
Remove trailing slash from baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
franzs committed Sep 17, 2023
1 parent 1765648 commit 580b6b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fritzbox_upload_certificate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ done

[ ${exit} -ne 0 ] && exit ${exit}

# strip trailing slash
baseurl="${baseurl%/}"

fullchain="${certpath}/fullchain.pem"
privkey="${certpath}/privkey.pem"

Expand Down

0 comments on commit 580b6b5

Please sign in to comment.