We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 149d1e5 commit 73e7772Copy full SHA for 73e7772
src/params/gh.ts
@@ -1,5 +1,5 @@
1
export function match(param) {
2
- const matches = param.replace(/^https?:\/\//, "") === "github.com";
+ const matches = param.replace(/^https?:\/\/?/, "") === "github.com";
3
console.log(`${param} matches? ${matches}.`);
4
return matches;
5
}
0 commit comments