Skip to content

Commit

Permalink
.trimEnd("/");
Browse files Browse the repository at this point in the history
  • Loading branch information
Miala-python committed Mar 7, 2024
1 parent d985fd5 commit d1d24a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/script/sub_domains.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function subd_replaceLinks() {


function subd_change_url(url) {
let reel_url = subd_convertURL(url);
let reel_url = subd_convertURL(url).trimEnd("/");
fetch(reel_url)
.then(response => response.text())
.then(text => {
Expand Down

0 comments on commit d1d24a7

Please sign in to comment.