mirror of
https://github.com/caprover/caprover
synced 2026-05-29 14:50:55 +00:00
issue @283 fix
This commit is contained in:
@@ -25,6 +25,8 @@ module.exports = {
|
||||
|
||||
const USER = encodeURIComponent(username);
|
||||
const PASS = encodeURIComponent(pass);
|
||||
|
||||
repo = repo.replace(/^(?:https?:\/\/)?/i, '');
|
||||
|
||||
const remote = `https://${USER}:${PASS}@${repo}`;
|
||||
|
||||
@@ -49,4 +51,4 @@ module.exports = {
|
||||
})
|
||||
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user