Skip to content

Commit

Permalink
#107 ensure url ends with a slash even when not using path
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 22, 2021
1 parent 4db2eb1 commit a5af520
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions html5/connect.html
Original file line number Diff line number Diff line change
Expand Up @@ -686,9 +686,9 @@ <h4 class="panel-title">Advanced options</h4>
url += "/";
}
url += path;
if (!path.endsWith("/")) {
url += "/";
}
}
if (!url.endsWith("/")) {
url += "/";
}
return url;
}
Expand Down

0 comments on commit a5af520

Please sign in to comment.