Skip to content

Commit f58c065

Browse files
committed
Modify JS to show migration for Gitlab
1 parent 0a8bd8a commit f58c065

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

public/js/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web_src/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ function initMigration() {
995995
const authUserName = $('#auth_username').val();
996996
const cloneAddr = $('#clone_addr').val();
997997
if (!$('#mirror').is(':checked') && (authUserName && authUserName.length > 0)
998-
&& (cloneAddr !== undefined && (cloneAddr.startsWith('https://github.com') || cloneAddr.startsWith('http://github.com')))) {
998+
&& (cloneAddr !== undefined && (cloneAddr.startsWith('https://github.com') || cloneAddr.startsWith('http://github.com') || cloneAddr.startsWith('http://gitlab.com') || cloneAddr.startsWith('https://gitlab.com') || cloneAddr.endsWith('#gitlab')))) {
999999
$('#migrate_items').show();
10001000
} else {
10011001
$('#migrate_items').hide();

0 commit comments

Comments
 (0)