fix gemini
This commit is contained in:
14
patching/190-bgs-force-internal-pds.patch
Normal file
14
patching/190-bgs-force-internal-pds.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- a/bgs/bgs.go
|
||||
+++ b/bgs/bgs.go
|
||||
@@ -1037,6 +1037,11 @@
|
||||
durl.Scheme = "http"
|
||||
}
|
||||
|
||||
+ if durl.Host == "syu.is" || durl.Host == "bsky.syu.is" {
|
||||
+ durl.Scheme = "http"
|
||||
+ durl.Host = "pds:3000"
|
||||
+ }
|
||||
+
|
||||
// TODO: the PDS's DID should also be in the service, we could use that to look up?
|
||||
var peering models.PDS
|
||||
if err := s.db.Find(&peering, "host = ?", durl.Host).Error; err != nil {
|
||||
Reference in New Issue
Block a user