Skip to content

Commit 73e7772

Browse files
was that it
1 parent 149d1e5 commit 73e7772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/params/gh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export function match(param) {
2-
const matches = param.replace(/^https?:\/\//, "") === "github.com";
2+
const matches = param.replace(/^https?:\/\/?/, "") === "github.com";
33
console.log(`${param} matches? ${matches}.`);
44
return matches;
55
}

0 commit comments

Comments
 (0)