fix: repository link trim
This commit is contained in:
parent
946d8e5be5
commit
f994092d7f
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
async function loadBranches() {
|
||||
try {
|
||||
loading.branches = true;
|
||||
|
||||
publicRepositoryLink = publicRepositoryLink.trim();
|
||||
const protocol = publicRepositoryLink.split(':')[0];
|
||||
const gitUrl = publicRepositoryLink.replace('http://', '').replace('https://', '');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue