clone

a self-hosted multitenant nostr relay with sites, file storage, git hosting, and inbox and outbox delivery

advertise filter and sha1-in-want on git upload-pack

Dami committed f424095
gitworkshop.dev fetches one commit at a time in the browser and refuses a
server whose advertisement lacks the filter capability, so every fetch of a
repository hosted here failed at what it called the transport level. Pass
uploadpack.allowFilter and uploadpack.allowAnySHA1InWant to http-backend,
matching what the other GRASP servers advertise.
commit
f424095cdafdb13a77f50fbb524e6a705c38638b
parent
bce2c385a5446e762a7bd6b19b6b98aa37b49f32
author
Dami <dami.etoile@gmail.com>
2 files changed, +12 -2
Minternal/gitrelay/gitrelay.go5++++-
Minternal/gitrelay/gitrelay_test.go9++++++++-
M internal/gitrelay/gitrelay.go +4 -1
M internal/gitrelay/gitrelay_test.go +8 -1