grasp: repository path uses the pubkey now.

This commit is contained in:
fiatjaf
2025-12-01 10:03:01 -03:00
parent 020e4a8f56
commit fb1603e062
4 changed files with 8 additions and 6 deletions
+1 -2
View File
@@ -7,7 +7,6 @@ import (
"net/http"
"os"
"os/exec"
"path/filepath"
"strings"
"syscall"
@@ -28,7 +27,7 @@ func (gs *GraspServer) handleInfoRefs(
return
}
repoPath := filepath.Join(gs.RepositoryDir, repoName)
repoPath := gs.getRepositoryPath(pubkey, repoName)
serviceName := r.URL.Query().Get("service")
w.Header().Set("Connection", "Keep-Alive")