A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go
72
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix did validation in hold admin

+3 -3
+2 -2
pkg/hold/admin/handlers_settings.go
··· 88 88 89 89 // Validate successor DID format if provided 90 90 if successor != "" { 91 - if !atproto.IsDID(successor) || !strings.HasPrefix(successor, "did:web:") { 92 - setFlash(w, r, "error", "Successor must be a valid did:web: DID (e.g., did:web:hold.example.com)") 91 + if !atproto.IsDID(successor) || !(strings.HasPrefix(successor, "did:web:") || strings.HasPrefix(successor, "did:plc:")) { 92 + setFlash(w, r, "error", "Successor must be a valid did:web: or did:plc: DID") 93 93 http.Redirect(w, r, "/admin#settings", http.StatusFound) 94 94 return 95 95 }
+1 -1
pkg/hold/admin/templates/partials/tab_settings.html
··· 51 51 <small class="text-base-content/60">DID of the successor hold. When set, the appview redirects all requests to the successor.</small> 52 52 </span> 53 53 <input type="text" name="successor" class="input input-bordered w-full font-mono text-sm" 54 - placeholder="did:web:hold.example.com" 54 + placeholder="did:web:hold.example.com or did:plc:..." 55 55 value="{{.Settings.Successor}}"> 56 56 </label> 57 57 </div>