Use schema config option instead of hostname

This commit is contained in:
Jon Staab
2025-09-25 12:12:13 -07:00
parent 909cc8813d
commit 3b652bdae4
3 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ func EnableBlossom(instance *Instance) {
store := &EventStore{
Schema: &Schema{
Name: slug.Make(instance.Host) + "_blossom__",
Name: slug.Make(config.Self.Schema) + "__blossom",
},
}
+1 -1
View File
@@ -42,7 +42,7 @@ func MakeInstance(hostname string) (*Instance, error) {
Config: config,
Events: &EventStore{
Schema: &Schema{
Name: slug.Make(hostname),
Name: slug.Make(config.Self.Schema) + "__events",
},
},
Relay: khatru.NewRelay(),