mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix(git): set 22 port in git add host
This commit is contained in:
parent
4d251271b9
commit
59d662396e
@ -87,7 +87,6 @@ const addHostToKnownHosts = async (repositoryURL: string) => {
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
const sanitizeRepoPathSSH = (input: string) => {
|
||||
const SSH_PATH_RE = new RegExp(
|
||||
[
|
||||
@ -113,7 +112,7 @@ const sanitizeRepoPathSSH = (input: string) => {
|
||||
return {
|
||||
user: found.groups?.user ?? "git",
|
||||
domain: found.groups?.domain,
|
||||
port: Number(found.groups?.port ?? 22),
|
||||
port: 22,
|
||||
owner: found.groups?.owner ?? "",
|
||||
repo: found.groups?.repo,
|
||||
get repoPath() {
|
||||
|
Loading…
Reference in New Issue
Block a user