refactor: use relative paths for certificates instead of absolute paths
All checks were successful
renovate / renovate (push) Successful in 19s
Docker Build and Push / build-and-push (push) Successful in 1m32s

This commit is contained in:
2025-12-28 19:53:03 +07:00
parent eee04daf80
commit c3a469be64
6 changed files with 19 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ func main() {
ServerVersion: "SSH-2.0-TunnlPls-1.0",
}
sshKeyPath := utils.Getenv("SSH_PRIVATE_KEY", "certs/id_rsa")
sshKeyPath := "certs/ssh/id_rsa"
if err := utils.GenerateSSHKeyIfNotExist(sshKeyPath); err != nil {
log.Fatalf("Failed to generate SSH key: %s", err)
}