Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerkretzmar committed May 16, 2024
1 parent f2ae863 commit 8681709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Route.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default class Route {
.replace(/%25/g, '%')
.replace(/\$/g, '%24');
})
.replace(`${this.origin}//`, `${this.origin}/`)
.replace(this.config.absolute ? /(\.[^/]+?)(\/\/)/ : /(^)(\/\/)/, '$1/')
.replace(/\/+$/, '');
}
}

0 comments on commit 8681709

Please sign in to comment.