fix: repository link trim
This commit is contained in:
parent
946d8e5be5
commit
f994092d7f
@ -22,7 +22,7 @@
|
|||||||
async function loadBranches() {
|
async function loadBranches() {
|
||||||
try {
|
try {
|
||||||
loading.branches = true;
|
loading.branches = true;
|
||||||
|
publicRepositoryLink = publicRepositoryLink.trim();
|
||||||
const protocol = publicRepositoryLink.split(':')[0];
|
const protocol = publicRepositoryLink.split(':')[0];
|
||||||
const gitUrl = publicRepositoryLink.replace('http://', '').replace('https://', '');
|
const gitUrl = publicRepositoryLink.replace('http://', '').replace('https://', '');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user