Skip to content

Commit

Permalink
fix(front): more permissive url for gitlab self-hosted url (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlienard authored Dec 26, 2024
1 parent 852c147 commit 5ff9490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/login/GitlabLoginButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
function handleUrlChange() {
urlIsValid = !!url.match(/^(http|https):\/\/[a-zA-Z0-9-.]+\.[a-zA-Z]{2,}$/);
urlIsValid = !!url.match(/^https?:\/\/\S/g);
}
function handleClickOutside({ x, y }: MouseEvent) {
Expand Down

0 comments on commit 5ff9490

Please sign in to comment.