Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
J-PRS authored Oct 20, 2024
1 parent 76f4616 commit 4138cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1 class="hidden">URL Opener Instant</h1>
let previousURL = "";

function findLastHttpComUrl(input) {
const regex = /http[^ ]*\.com/g;
const regex = /http[^ ]*\.com\/?/g;
const matches = input.match(regex);
if (matches && matches.length > 0) {
return matches[matches.length - 1];
Expand Down

0 comments on commit 4138cca

Please sign in to comment.